Allow retries on testing container build

This commit is contained in:
Gabe Kangas 2023-01-26 16:24:00 -08:00
parent df6b885147
commit d9914f3abd
No known key found for this signature in database
GPG Key ID: 4345B2060657F330

View File

@ -51,6 +51,10 @@ jobs:
EARTHLY_PUSH: true
run: ./build/develop/container.sh
- name: Build
if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' }}
run: ./build/develop/container.sh
- name: Build and push
if: ${{ github.event_name == 'schedule' && env.GH_CR_PAT != null }}
uses: nick-fields/retry@v2
with:
timeout_minutes: 10
max_attempts: 3
command: ./build/develop/container.sh