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 7, 2025
1 parent 8686bbb commit f1076c2
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 @@ -50,7 +51,6 @@ jobs:
permissions:
packages: write
contents: read
if: ${{ github.repository_owner == 'cryostatio' }}
steps:
- name: Add CRIU PPA
run: sudo add-apt-repository ppa:criu/ppa && sudo apt update
Expand Down Expand Up @@ -113,6 +113,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 @@ -237,7 +238,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 f1076c2

Please sign in to comment.