Skip to content

Commit

Permalink
re-enable owner check
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Nov 7, 2023
1 parent 2996444 commit 89c5449
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/push-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
permissions:
packages: write
contents: read
# if: ${{ github.repository_owner == 'cryostatio' }}
if: ${{ github.repository_owner == 'cryostatio' }}
steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -111,8 +111,7 @@ jobs:
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: ${{ github.event_name == 'push' && github.repository_owner == 'cryostatio' }}
if: ${{ matrix.java == '17' }}
if: ${{ matrix.java == '17' }} && ${{ github.event_name == 'push' && github.repository_owner == 'cryostatio' }}
id: buildah-build
uses: redhat-actions/buildah-build@v2
with:
Expand All @@ -131,9 +130,7 @@ 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' }}
if: ${{ matrix.java == '17' }} && ${{ 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' }}
if: ${{ matrix.java == '17' }} && ${{ github.event_name == 'push' && github.repository_owner == 'cryostatio' }}

0 comments on commit 89c5449

Please sign in to comment.