From f2fb8c8a42c2aacedb1cc5657dff487a1b4b958a Mon Sep 17 00:00:00 2001 From: Brennan Ashton Date: Fri, 17 Apr 2020 10:02:34 -0700 Subject: [PATCH] Add retry to pull docker image Signed-off-by: Brennan Ashton --- .github/workflows/build.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 82532fbd1..3395d4590 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: