Skip to content

Commit

Permalink
only build/push on JDK 17
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Nov 7, 2023
1 parent 19cdf55 commit 3551740
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/push-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ jobs:
run: ./mvnw -B -U clean verify
continue-on-error: ${{ matrix.java != '17' }}
- name: Build container images and manifest
# if: ${{ github.event_name == 'push' && github.repository_owner == 'cryostatio' }}
if: ${{ matrix.java == '17' }}
id: buildah-build
uses: redhat-actions/buildah-build@v2
env:
Expand All @@ -126,7 +128,9 @@ jobs:
registry: ${{ env.CI_REGISTRY }}
username: ${{ env.CI_USER }}
password: ${{ secrets.REGISTRY_PASSWORD }}
if: ${{ matrix.java == '17' }}
# if: ${{ github.event_name == 'push' && github.repository_owner == 'cryostatio' }}
- name: Print image URL
run: echo "Image pushed to ${{ steps.push-to-quay.outputs.registry-paths }}"
if: ${{ matrix.java == '17' }}
# if: ${{ github.event_name == 'push' && github.repository_owner == 'cryostatio' }}

0 comments on commit 3551740

Please sign in to comment.