Skip to content

Commit

Permalink
move repo owner check
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Jan 6, 2025
1 parent 9588b7a commit 82eb726
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/push-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ env:
jobs:
get-pom-properties:
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'cryostatio' }}
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -51,7 +52,6 @@ jobs:
permissions:
packages: write
contents: read
if: ${{ github.repository_owner == 'cryostatio' }}
steps:
- name: Install podman 4 and qemu
run: |
Expand Down Expand Up @@ -112,6 +112,7 @@ jobs:
unit-test:
name: Run unit tests
runs-on: ubuntu-latest
needs: [get-pom-properties]
strategy:
matrix:
arch: [amd64, arm64]
Expand Down Expand Up @@ -230,7 +231,6 @@ jobs:
podman manifest add ${{ env.CI_IMG }}:${{ needs.get-pom-properties.outputs.image-version }} containers-storage:${{env.CI_IMG}}:${tag}
done
- name: Push to quay.io
if: github.repository_owner == 'cryostatio'
id: push-to-quay
uses: redhat-actions/push-to-registry@v2
with:
Expand Down

0 comments on commit 82eb726

Please sign in to comment.