Skip to content

Commit

Permalink
ci(image): correct expression condition syntax (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores authored Nov 8, 2023
1 parent effeb6a commit 94742e3
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/push-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,10 @@ jobs:
run: ./mvnw -B -U clean verify
continue-on-error: ${{ matrix.java != '17' }}
- name: Delete local integration test image
run: |
podman rmi ${{ env.CI_IMG }}:latest ${{ env.CI_IMG }}:dev ${{ env.CI_IMG }}:${{ env.IMAGE_VERSION }}
run: podman rmi ${{ env.CI_IMG }}:latest ${{ env.CI_IMG }}:dev ${{ env.CI_IMG }}:${{ env.IMAGE_VERSION }}
continue-on-error: true
- name: Build container images and manifest
if: ${{ matrix.java == '17' }} && ${{ github.repository_owner == 'cryostatio' }}
if: ${{ matrix.java == '17' && github.repository_owner == 'cryostatio' }}
id: buildah-build
uses: redhat-actions/buildah-build@v2
with:
Expand All @@ -126,7 +125,7 @@ jobs:
registry: ${{ env.CI_REGISTRY }}
username: ${{ env.CI_USER }}
password: ${{ secrets.REGISTRY_PASSWORD }}
if: ${{ matrix.java == '17' }} && ${{ github.repository_owner == 'cryostatio' }}
if: ${{ matrix.java == '17' && github.repository_owner == 'cryostatio' }}
- name: Print image URL
run: echo "Image pushed to ${{ steps.push-to-quay.outputs.registry-paths }}"
if: ${{ matrix.java == '17' }} && ${{ github.repository_owner == 'cryostatio' }}
if: ${{ matrix.java == '17' && github.repository_owner == 'cryostatio' }}

0 comments on commit 94742e3

Please sign in to comment.