Skip to content

Commit

Permalink
fix: docker branch tag should only generate when not empty
Browse files Browse the repository at this point in the history
  • Loading branch information
wsxiaoys committed Nov 3, 2023
1 parent 61605ca commit 01b95de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
${{ env.IMAGE_NAME }}
# generate Docker tags based on the following events/attributes
tags: |
type=raw,value={{branch}}-{{sha}}
type=raw,value={{branch}}-{{sha}},enable=${{ branch != '' }}
type=schedule,pattern=nightly
type=schedule,pattern={{date 'YYYYMMDD'}}
type=semver,pattern={{version}}
Expand Down

0 comments on commit 01b95de

Please sign in to comment.