Allow retries on testing container build
This commit is contained in:
10
.github/workflows/container.yaml
vendored
10
.github/workflows/container.yaml
vendored
@@ -51,6 +51,10 @@ jobs:
|
|||||||
EARTHLY_PUSH: true
|
EARTHLY_PUSH: true
|
||||||
run: ./build/develop/container.sh
|
run: ./build/develop/container.sh
|
||||||
|
|
||||||
- name: Build
|
- name: Build and push
|
||||||
if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' }}
|
if: ${{ github.event_name == 'schedule' && env.GH_CR_PAT != null }}
|
||||||
run: ./build/develop/container.sh
|
uses: nick-fields/retry@v2
|
||||||
|
with:
|
||||||
|
timeout_minutes: 10
|
||||||
|
max_attempts: 3
|
||||||
|
command: ./build/develop/container.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user