Skip to content

Commit a3b9b9f

Browse files
committed
fix incompatible flavor in workflow
1 parent 2ff3c89 commit a3b9b9f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ jobs:
5757
type=raw,value=${{ steps.modver.outputs.major }}.${{ steps.modver.outputs.minor }}
5858
type=raw,value=${{ steps.modver.outputs.major }}
5959
type=sha
60-
# Also add :latest when building the default branch (main)
61-
flavor: |
62-
latest={{is_default_branch}}
60+
# add :latest only on default branch
61+
type=raw,value=latest,enable={{is_default_branch}}
62+
6363
6464
- name: Build and push (PNG-enabled)
6565
uses: docker/build-push-action@v6

0 commit comments

Comments
 (0)