diff --git a/.github/workflows/push-ci.yml b/.github/workflows/push-ci.yml index 9df1ddb3be..14b0e9eba4 100644 --- a/.github/workflows/push-ci.yml +++ b/.github/workflows/push-ci.yml @@ -47,25 +47,21 @@ jobs: - uses: actions/download-artifact@v3 with: name: cryostat-amd64 - if: github.repository_owner == 'cryostatio' - name: Load cryostat-amd64 image env: 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 - if: github.repository_owner == 'cryostatio' - uses: actions/download-artifact@v3 with: name: cryostat-arm64 - if: github.repository_owner == 'cryostatio' - name: Load cryostat-arm64 image env: 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 - if: github.repository_owner == 'cryostatio' - name: Create OCI Manifest id: create-manifest env: @@ -80,7 +76,6 @@ jobs: else echo "tags=$IMAGE_VERSION" >> "$GITHUB_OUTPUT" fi - if: github.repository_owner == 'cryostatio' - name: Push to quay.io id: push-to-quay uses: redhat-actions/push-to-registry@v2 @@ -90,7 +85,5 @@ jobs: registry: quay.io/cryostat username: cryostat+bot password: ${{ secrets.REGISTRY_PASSWORD }} - if: github.repository_owner == 'cryostatio' - name: Print image URL run: echo "Image pushed to ${{ steps.push-to-quay.outputs.registry-paths }}" - if: github.repository_owner == 'cryostatio'