Add retry to pull docker image
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
This commit is contained in:
parent
a0a2c40c79
commit
f2fb8c8a42
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@ -57,6 +57,14 @@ jobs:
|
||||
username: ${GITHUB_ACTOR}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Docker Pull
|
||||
uses: nick-invision/retry@v1
|
||||
with:
|
||||
timeout_minutes: 10
|
||||
max_attempts: 3
|
||||
retry_wait_seconds: 10
|
||||
command: docker pull docker.pkg.github.com/apache/incubator-nuttx-testing/nuttx-ci-linux
|
||||
|
||||
- name: Run builds
|
||||
uses: ./testing/.github/actions/ci-container
|
||||
env:
|
||||
|
Loading…
Reference in New Issue
Block a user