Skip to content

Commit 5d53e1d

Browse files
committed
ci: fix create docker image based on reference instead of branch
1 parent a17f24d commit 5d53e1d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release-manual-docker.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ jobs:
4545
flavor: |
4646
latest=${{ steps.branch.outputs.branch_name == 'master' && github.event.inputs.ref == '' }}
4747
tags: |
48-
type=semver,pattern={{version}},value=${{ github.event.inputs.ref }}
48+
type=semver,enable=true,priority=900,pattern={{version}},value=${{ github.event.inputs.ref }}
49+
type=ref,enable=true,priority=600,event=branch
4950
- name: Build and push Docker image
5051
uses: docker/build-push-action@v2
5152
with:

0 commit comments

Comments
 (0)