Add retry to pull docker image
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
This commit is contained in:
parent
b5a2c7a304
commit
6acaf2afaa
|
@ -56,6 +56,14 @@ jobs:
|
|||
login-server: docker.pkg.github.com
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue