Skip to content

Commit 8fb432a

Browse files
author
Piotr Gulbinowicz
committed
change workflow
1 parent 97cde67 commit 8fb432a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/docker-publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name: Build Go image
33
on:
44
push:
55
branches: [ "main" ]
6+
tags:
7+
- 'v*'
68

79
env:
810
REGISTRY: ghcr.io
@@ -44,7 +46,7 @@ jobs:
4446
with:
4547
context: ./api/
4648
push: ${{ github.event_name != 'pull_request' }}
47-
tags: "api"
49+
tags: ${{ steps.meta.outputs.tags }}
4850
labels: ${{ steps.meta.outputs.labels }}
4951
cache-from: type=gha
5052
cache-to: type=gha,mode=max

0 commit comments

Comments
 (0)