Skip to content

Commit e1e1b94

Browse files
Build Docker images only on tags
1 parent e0896d7 commit e1e1b94

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/docker-publish.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ name: Docker Publish
22

33
on:
44
push:
5-
branches: [main]
6-
tags: ['v*']
5+
tags: ["*"]
76
release:
87
types: [published]
98
workflow_dispatch:
@@ -40,7 +39,6 @@ jobs:
4039
with:
4140
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
4241
tags: |
43-
type=ref,event=branch
4442
type=ref,event=tag
4543
type=sha
4644
type=raw,value=latest,enable={{is_default_branch}}

0 commit comments

Comments
 (0)