Skip to content

Commit 1f2bb7a

Browse files
committed
disable on PRs
1 parent e737535 commit 1f2bb7a

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/release.yaml

+12-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,13 @@ name: release
1010
"on":
1111
release:
1212
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]
1520

1621
jobs:
1722
docker:
@@ -47,7 +52,12 @@ jobs:
4752
type=semver,pattern={{version}},enable=${{ github.event_name == 'release' }}
4853
type=semver,pattern={{major}}.{{minor}},enable=${{ github.event_name == 'release' }}
4954
type=raw,value=latest,enable=${{ github.event_name == 'release' }}
55+
5056
# 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.
5161
type=sha,format=short,enable=${{ github.event_name == 'pull_request' }}
5262
id: meta
5363

0 commit comments

Comments
 (0)