Skip to content

Commit

Permalink
ci(convert): also enable triggering manually (project-stacker#429)
Browse files Browse the repository at this point in the history
* ci(convert): also enable triggering manually

Signed-off-by: Ramkumar Chinchani <[email protected]>

* fix(ci/convert): start zot in background, else blocks

Signed-off-by: Ramkumar Chinchani <[email protected]>

---------

Signed-off-by: Ramkumar Chinchani <[email protected]>
  • Loading branch information
rchincha authored Mar 7, 2023
1 parent bf773e5 commit d805401
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/convert.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: "convert dockerfiles"

on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'

Expand Down Expand Up @@ -36,7 +37,7 @@ jobs:
ZOT_PORT: 5000
run: |
# start a zot instance (minimal)
podman run -p ${ZOT_PORT}:${ZOT_PORT} ghcr.io/project-zot/zot-minimal-linux-amd64:latest
podman run -d -p ${ZOT_PORT}:${ZOT_PORT} ghcr.io/project-zot/zot-minimal-linux-amd64:latest
# check if reachable
while true; do x=0; curl -f http://${REGISTRY_URL}/v2/ || x=1; if [ $x -eq 0 ]; then break; fi; sleep 1; done
- name: alpine
Expand Down

0 comments on commit d805401

Please sign in to comment.