Skip to content

Commit 4e1125c

Browse files
committed
ci: add latest tag for default branch
1 parent 13b122e commit 4e1125c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/release.yml

+3
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ jobs:
5050
images: |
5151
ghcr.io/${{ github.repository }}
5252
tags: |
53+
# set latest tag for default branch
54+
type=raw,value=latest,enable={{is_default_branch}}
55+
# set version tag from goreleaser
5356
type=raw,value=${{ fromJSON(steps.goreleaser.outputs.metadata).version }}
5457
5558
- name: Build and push Docker images

0 commit comments

Comments
 (0)