Skip to content

Commit

Permalink
docker.yml: only push packages for master builds
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed May 8, 2024
1 parent a715623 commit d9df806
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- container: "proj-docs"
dockerfile: "./Dockerfile"
env:
PUSH_PACKAGES: ${{ github.repository_owner == 'OSGeo' && github.event_name != 'pull_request' }}
PUSH_PACKAGES: ${{ github.repository_owner == 'OSGeo' && github.ref_name == 'master' && github.event_name == 'push' }}
CONTAINER: ${{ matrix.container }}
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit d9df806

Please sign in to comment.