diff --git a/.github/workflows/next-container-build.yaml b/.github/workflows/next-container-build.yaml index 5c142a67..91b7d827 100644 --- a/.github/workflows/next-container-build.yaml +++ b/.github/workflows/next-container-build.yaml @@ -98,7 +98,8 @@ jobs: if [[ $(git rev-parse --abbrev-ref HEAD) != "main" ]]; then latestNext="latest" fi - export VERSION=${{ env.BASE_VERSION }}-${latestNext}-${{ env.SHORT_SHA }} + + export VERSION=${{ env.BASE_VERSION }} set -ex @@ -108,7 +109,6 @@ jobs: # now copy images from local cache to quay, using 0.0.1-next-f00cafe, 0.0.1-next, and next tags for image in operator operator-bundle operator-catalog; do podman push quay.io/janus-idp/${image}:${VERSION} -q - skopeo --insecure-policy copy --all docker://quay.io/janus-idp/${image}:${VERSION} docker://quay.io/janus-idp/${image}:${VERSION} - skopeo --insecure-policy copy --all docker://quay.io/janus-idp/${image}:${VERSION} docker://quay.io/janus-idp/${image}:${VERSION%-*} + skopeo --insecure-policy copy --all docker://quay.io/janus-idp/${image}:${VERSION} docker://quay.io/janus-idp/${image}:${VERSION}-${{ env.SHORT_SHA }} skopeo --insecure-policy copy --all docker://quay.io/janus-idp/${image}:${VERSION} docker://quay.io/janus-idp/${image}:${latestNext} done