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 Xiang Xiao
parent b5a2c7a304
commit 6acaf2afaa
1 changed files with 8 additions and 0 deletions

View File

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