Skip to content

Commit

Permalink
Tag branch name unless branch is master
Browse files Browse the repository at this point in the history
  • Loading branch information
rblaine95 committed Feb 25, 2023
1 parent 15ada04 commit 90ad0f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
docker.io/rblaine/${{ env.IMAGE_NAME }}
tags: |
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'master') }}
type=raw,value=${{ github.ref }},enable=${{ github.ref != format('refs/heads/{0}', 'master') }}
type=semver,pattern={{version}}
- uses: docker/build-push-action@v4
with:
Expand Down

0 comments on commit 90ad0f5

Please sign in to comment.