Skip to content

Commit

Permalink
fix(atlantis-image): push on release tag (runatlantis#3432)
Browse files Browse the repository at this point in the history
  • Loading branch information
nitrocode authored and Marcelo Medeiros committed Jul 3, 2023
1 parent c04b7c8 commit aca15e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/atlantis-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
# Set docker repo to either the fork or the main repo where the branch exists
DOCKER_REPO: ghcr.io/${{ github.repository }}
# Push if not a pull request and references the main branch
PUSH: ${{ github.event_name != 'pull_request' && github.ref == 'refs/heads/main' }}
PUSH: ${{ github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')) }}

steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit aca15e2

Please sign in to comment.