Skip to content

Commit 48c0b16

Browse files
committed
Modify release docker action script trigger condition to tag
1 parent 5246eb9 commit 48c0b16

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/publish-release-dockers.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
name: Publish Docker image for new releases
22

33
on:
4-
release:
5-
types:
6-
- published
4+
push:
5+
tags:
6+
# Catches v1.2.3 and v1.2.3-rc1
7+
- v[0-9]+.[0-9]+.[0-9]+*
78

89
jobs:
910
build_and_push:

0 commit comments

Comments
 (0)