Skip to content

Commit 68de779

Browse files
committed
increase goreleaser timeout
Signed-off-by: Bryce Palmer <bpalmer@redhat.com>
1 parent d1b491f commit 68de779

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ jobs:
4343
if [[ $GITHUB_REF == refs/tags/* ]]; then
4444
# Release tags.
4545
echo IMAGE_TAG="${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
46-
echo GORELEASER_ARGS="--clean" >> $GITHUB_ENV
46+
echo GORELEASER_ARGS="--clean --timeout=60m" >> $GITHUB_ENV
4747
echo ENABLE_RELEASE_PIPELINE=true >> $GITHUB_ENV
4848
elif [[ $GITHUB_REF == refs/heads/* ]]; then
4949
# Branch build.
5050
echo IMAGE_TAG="$(echo "${GITHUB_REF#refs/heads/}" | sed -r 's|/+|-|g')" >> $GITHUB_ENV
51-
echo GORELEASER_ARGS="--clean --skip-validate" >> $GITHUB_ENV
51+
echo GORELEASER_ARGS="--clean --skip-validate --timeout=60m" >> $GITHUB_ENV
5252
elif [[ $GITHUB_REF == refs/pull/* ]]; then
5353
# PR build.
5454
echo IMAGE_TAG="pr-$(echo "${GITHUB_REF}" | sed -E 's|refs/pull/([^/]+)/?.*|\1|')" >> $GITHUB_ENV

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ goreleaser: $(LOCALBIN) ## Build a local copy of goreleaser
189189

190190

191191
export ENABLE_RELEASE_PIPELINE ?= false
192-
export GORELEASER_ARGS ?= --snapshot --clean
192+
export GORELEASER_ARGS ?= --snapshot --clean --timeout=60m
193193
release: IMAGE_TAG = $(GIT_VERSION)
194194
release: goreleaser ## Runs goreleaser. By default, this will run only as a snapshot and will not publish any artifacts unless it is run with different arguments. To override the arguments, run with "GORELEASER_ARGS=...". When run as a github action from a tag, this target will publish a full release.
195195
$(GORELEASER) $(GORELEASER_ARGS)

0 commit comments

Comments
 (0)