Skip to content

Commit

Permalink
Only tagging version when on main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
BobJWalker committed Feb 13, 2024
1 parent f60da40 commit e7c2277
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
tag_name: ${{ steps.determine_version.outputs.semVer }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: github.ref == 'refs/heads/main'
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
Expand Down

0 comments on commit e7c2277

Please sign in to comment.