Add retry to pull docker image

Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
This commit is contained in:
Brennan Ashton 2020-04-17 10:02:34 -07:00 committed by patacongo
parent a0a2c40c79
commit f2fb8c8a42

View File

@ -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: