Skip to content

Commit 0a46043

Browse files
Copilotlpcox
andcommitted
Fix invalid Docker tag format in workflow
Remove problematic prefix={{branch}}- from sha tag type that was generating invalid tags like "-e007166" when branch context is empty. Using simple "type=sha" instead which generates valid tags. Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
1 parent 42d24aa commit 0a46043

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/serena-container.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
tags: |
4949
type=raw,value=latest,enable={{is_default_branch}}
5050
type=ref,event=pr
51-
type=sha,prefix={{branch}}-
51+
type=sha
5252
type=raw,value=${{ github.event.inputs.version }},enable=${{ github.event.inputs.version != '' }}
5353
5454
- name: Build and push (multi-arch)

0 commit comments

Comments
 (0)