Skip to content

Commit

Permalink
Merge pull request #677 from ANTsX/docker_main_only
Browse files Browse the repository at this point in the history
CI: Don't push PRs to dockerhub
  • Loading branch information
cookpa authored Jun 21, 2024
2 parents d4d63cb + e83539a commit cc46782
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ jobs:
with:
context: .
platforms: linux/amd64
push: ${{ github.repository == 'ANTsX/ANTsPy' }}
push: ${{ github.repository == 'ANTsX/ANTsPy' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v')) }}
tags: ${{ github.event_name == 'schedule' && 'antsx/antspy:nightly,antsx/antspy:latest' || steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit cc46782

Please sign in to comment.