Skip to content

Commit b208329

Browse files
committed
fix: try to release via tags
1 parent ed5cbbe commit b208329

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/deploy_image.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Deploy image to ghcr.io
33
on:
44
push:
55
branches: [main]
6+
tags: ['v*']
67

78
workflow_dispatch:
89

@@ -30,7 +31,8 @@ jobs:
3031
with:
3132
images: ghcr.io/${{ env.IMAGE_NAME }}
3233
tags: |
33-
type=latest
34+
type=semver,pattern={{version}}
35+
type=semver,pattern={{major}}.{{minor}}
3436
- uses: docker/build-push-action@v6
3537
with:
3638
context: .

0 commit comments

Comments
 (0)