Skip to content

Commit

Permalink
Configure buildah --retry and --retry-delay to deal with build fa…
Browse files Browse the repository at this point in the history
…ilures when using cache (#95)

Suggested in containers/buildah#4777 (comment)
  • Loading branch information
jiridanek authored May 12, 2023
1 parent 180d788 commit 8b12835
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/image_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,10 @@ jobs:
tags: latest ${{ github.sha }} ${{ steps.cleaned_ref_name.outputs.ref_name }}
archs: amd64, arm64, arm64, s390x
layers: true
# https://github.com/containers/buildah/issues/4777#issuecomment-1542088081
extra-args: |
--retry=100
--retry-delay=5s
--volume=${{ env.CCACHE_DIR }}:/ccache
${{ steps.cache.outputs.cache-from }}
${{ steps.cache.outputs.cache-to }}
Expand Down

0 comments on commit 8b12835

Please sign in to comment.