Skip to content

Commit 8b12835

Browse files
authored
Configure buildah --retry and --retry-delay to deal with build failures when using cache (#95)
Suggested in containers/buildah#4777 (comment)
1 parent 180d788 commit 8b12835

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/image_build.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,10 @@ jobs:
7979
tags: latest ${{ github.sha }} ${{ steps.cleaned_ref_name.outputs.ref_name }}
8080
archs: amd64, arm64, arm64, s390x
8181
layers: true
82+
# https://github.com/containers/buildah/issues/4777#issuecomment-1542088081
8283
extra-args: |
84+
--retry=100
85+
--retry-delay=5s
8386
--volume=${{ env.CCACHE_DIR }}:/ccache
8487
${{ steps.cache.outputs.cache-from }}
8588
${{ steps.cache.outputs.cache-to }}

0 commit comments

Comments
 (0)