You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/04/17 17:48:43 UTC

[incubator-nuttx] branch master updated: Add retry to pull docker image

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 6acaf2a  Add retry to pull docker image
6acaf2a is described below

commit 6acaf2afaa8f542574c4f0d317a62046abf1d111
Author: Brennan Ashton <ba...@brennanashton.com>
AuthorDate: Fri Apr 17 10:02:34 2020 -0700

    Add retry to pull docker image
    
    Signed-off-by: Brennan Ashton <ba...@brennanashton.com>
---
 .github/workflows/build.yml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 82532fb..269c127 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