Skip to content

Commit d127def

Browse files
committed
Tag branch name unless branch is master
1 parent 15ada04 commit d127def

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/docker.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
docker.io/rblaine/${{ env.IMAGE_NAME }}
3232
tags: |
3333
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'master') }}
34+
type=ref,enable=${{ github.ref != format('refs/heads/{0}', 'master') }}
3435
type=semver,pattern={{version}}
3536
- uses: docker/build-push-action@v4
3637
with:

0 commit comments

Comments
 (0)