nuttx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gn...@apache.org
Subject [incubator-nuttx] 02/05: Add retry to pull docker image
Date Thu, 23 Apr 2020 23:04:42 GMT
This is an automated email from the ASF dual-hosted git repository.

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

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

    Add retry to pull docker image
    
    Signed-off-by: Brennan Ashton <bashton@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


Mime
View raw message