diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 3a7c7ddf6..3012f0cd9 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -106,7 +106,7 @@ jobs: arch: [amd64, arm64] include: - arch: arm64 - base-image-name: arm64v8/alpine + base-image-name: alpine - arch: amd64 base-image-name: alpine steps: @@ -135,7 +135,7 @@ jobs: - name: Run zot container image with docker run: | if [[ $OS == "linux" && $ARCH == "amd64" ]]; then - docker run -d ghcr.io/${{ github.repository_owner }}/zot-${{ matrix.os }}-${{ matrix.arch }}:${{ github.event.release.tag_name }} + docker run -d -p 5000:5000 ghcr.io/${{ github.repository_owner }}/zot-${{ matrix.os }}-${{ matrix.arch }}:${{ github.event.release.tag_name }} curl --connect-timeout 5 \ --max-time 10 \ --retry 6 \ @@ -149,7 +149,7 @@ jobs: - name: Run zot container image with podman run: | if [[ $OS == "linux" && $ARCH == "amd64" ]]; then - podman run -d ghcr.io/${{ github.repository_owner }}/zot-${{ matrix.os }}-${{ matrix.arch }}:${{ github.event.release.tag_name }} + podman run -d -p 5000:5000 ghcr.io/${{ github.repository_owner }}/zot-${{ matrix.os }}-${{ matrix.arch }}:${{ github.event.release.tag_name }} curl --connect-timeout 5 \ --max-time 10 \ --retry 6 \ @@ -178,7 +178,7 @@ jobs: - name: Run zot-minimal container image with docker run: | if [[ $OS == "linux" && $ARCH == "amd64" ]]; then - docker run -d ghcr.io/${{ github.repository_owner }}/zot-minimal-${{ matrix.os }}-${{ matrix.arch }}:${{ github.event.release.tag_name }} + docker run -d -p 5000:5000 ghcr.io/${{ github.repository_owner }}/zot-minimal-${{ matrix.os }}-${{ matrix.arch }}:${{ github.event.release.tag_name }} curl --connect-timeout 5 \ --max-time 10 \ --retry 6 \ @@ -192,7 +192,7 @@ jobs: - name: Run zot-minimal container image with podman run: | if [[ $OS == "linux" && $ARCH == "amd64" ]]; then - podman run -d ghcr.io/${{ github.repository_owner }}/zot-minimal-${{ matrix.os }}-${{ matrix.arch }}:${{ github.event.release.tag_name }} + podman run -d -p 5000:5000 ghcr.io/${{ github.repository_owner }}/zot-minimal-${{ matrix.os }}-${{ matrix.arch }}:${{ github.event.release.tag_name }} curl --connect-timeout 5 \ --max-time 10 \ --retry 6 \