From d8054010ef3b499b6172653f7dfb141f30de6e5d Mon Sep 17 00:00:00 2001 From: Ramkumar Chinchani <45800463+rchincha@users.noreply.github.com> Date: Tue, 7 Mar 2023 12:00:00 -0800 Subject: [PATCH] ci(convert): also enable triggering manually (#429) * ci(convert): also enable triggering manually Signed-off-by: Ramkumar Chinchani * fix(ci/convert): start zot in background, else blocks Signed-off-by: Ramkumar Chinchani --------- Signed-off-by: Ramkumar Chinchani --- .github/workflows/convert.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/convert.yaml b/.github/workflows/convert.yaml index 6d1a49ec..67e62a10 100644 --- a/.github/workflows/convert.yaml +++ b/.github/workflows/convert.yaml @@ -1,6 +1,7 @@ name: "convert dockerfiles" on: + workflow_dispatch: schedule: - cron: '0 0 * * *' @@ -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