Skip to content

Commit

Permalink
docker.yml: re-instate pushing Docker 'proj' image for non-master builds
Browse files Browse the repository at this point in the history
Fixes OSGeo#4156
Reverts d9df806
  • Loading branch information
rouault committed Jun 2, 2024
1 parent 82af828 commit 5083bad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ jobs:
- container: "proj-docs"
dockerfile: "./Dockerfile"
env:
PUSH_PACKAGES: ${{ github.repository_owner == 'OSGeo' && github.ref_name == 'master' && github.event_name == 'push' }}
# Only push proj-docs package for master
PUSH_PACKAGES: ${{ github.repository_owner == 'OSGeo' && github.event_name != 'pull_request' && (matrix.container == 'proj' || (matrix.container == 'proj-docs' && github.ref_name == 'master')) }}
CONTAINER: ${{ matrix.container }}
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 5083bad

Please sign in to comment.