Skip to content

Commit 33ab242

Browse files
authored
publish docker image on release only (#284)
1 parent 3d3d015 commit 33ab242

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/docker-push.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
name: Publish Docker image
22

33
on:
4-
# we should publish docker image only when we release a new version
5-
# release:
6-
# types: [published]
7-
push:
8-
branches:
9-
- main
4+
release:
5+
types: [published]
106

117
jobs:
128
push_to_registry:

0 commit comments

Comments
 (0)