diff --git a/.github/workflows/push-ci.yml b/.github/workflows/push-ci.yml index d619d18a08..9d3588455c 100644 --- a/.github/workflows/push-ci.yml +++ b/.github/workflows/push-ci.yml @@ -53,7 +53,7 @@ jobs: IMAGE_VERSION: ${{ needs.build-and-test-amd64.outputs.image-version }} run: | podman load -i cryostat-amd64.tar - podman tag quay.io/cryostat/cryostat:latest $CRYOSTAT_IMG:$IMAGE_VERSION-linux-amd64 + podman tag $CRYOSTAT_IMG:$IMAGE_VERSION-linux-amd64 - uses: actions/download-artifact@v3 with: name: cryostat-arm64 @@ -62,21 +62,14 @@ jobs: IMAGE_VERSION: ${{ needs.build-and-test-arm64.outputs.image-version }} run: | podman load -i cryostat-arm64.tar - podman tag quay.io/cryostat/cryostat:latest $CRYOSTAT_IMG:$IMAGE_VERSION-linux-arm64 + podman tag $CRYOSTAT_IMG:$IMAGE_VERSION-linux-arm64 - name: Create OCI Manifest id: create-manifest env: IMAGE_VERSION: ${{ needs.build-and-test-amd64.outputs.image-version }} run: | podman manifest create $CRYOSTAT_IMG:$IMAGE_VERSION containers-storage:$CRYOSTAT_IMG:$IMAGE_VERSION-linux-amd64 containers-storage:$CRYOSTAT_IMG:$IMAGE_VERSION-linux-arm64 - if [ "$GITHUB_REF" == "refs/heads/main" ]; then - podman tag \ - ${{ env.CRYOSTAT_IMG }}:$IMAGE_VERSION \ - ${{ env.CRYOSTAT_IMG }}:latest - echo "tags=$IMAGE_VERSION latest" >> "$GITHUB_OUTPUT" - else - echo "tags=$IMAGE_VERSION" >> "$GITHUB_OUTPUT" - fi + echo "tags=$IMAGE_VERSION" >> "$GITHUB_OUTPUT" - name: Push to quay.io id: push-to-quay uses: redhat-actions/push-to-registry@v2