From 6acaf2afaa8f542574c4f0d317a62046abf1d111 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 82532fbd11..269c127889 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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