File tree 1 file changed +12
-2
lines changed
1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,13 @@ name: release
10
10
" on " :
11
11
release :
12
12
types : [published]
13
- pull_request :
14
- branches : [main]
13
+
14
+ # we do not build and push images for every commit, only for tagged releases.
15
+ # uncomment this to enablle building for pull requests, to debug this
16
+ # workflow.
17
+ #
18
+ # pull_request:
19
+ # branches: [main]
15
20
16
21
jobs :
17
22
docker :
47
52
type=semver,pattern={{version}},enable=${{ github.event_name == 'release' }}
48
53
type=semver,pattern={{major}}.{{minor}},enable=${{ github.event_name == 'release' }}
49
54
type=raw,value=latest,enable=${{ github.event_name == 'release' }}
55
+
50
56
# For pull requests, use the commit SHA
57
+ #
58
+ # Note that this is disabled by default, but can be enabled for
59
+ # debugging purposes by uncommenting the pull_request trigger at
60
+ # top of the workflow.
51
61
type=sha,format=short,enable=${{ github.event_name == 'pull_request' }}
52
62
id : meta
53
63
You can’t perform that action at this time.
0 commit comments