Skip to content

Commit 2f62b1d

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
latest=${{ steps.branch.outputs.branch_name == 'master' && github.event.inputs.ref == '' }}
4747
tags: |
4848
type=semver,enable=true,priority=900,pattern={{version}},value=${{ github.event.inputs.ref }}
49-
type=ref,enable=true,priority=600,event=branch
49+
type=raw,enable=${{ github.event.inputs.ref == '' }},priority=600,value=latest
5050
- name: Build and push Docker image
5151
uses: docker/build-push-action@v2
5252
with:

0 commit comments

Comments
 (0)