retry on timeout and error

pull/112/head
binhex 3 years ago
parent e2f9deb53c
commit 9ddc08a3bb

@ -19,7 +19,6 @@ jobs:
timeout_minutes: 5
max_attempts: 3
retry_wait_seconds: 120
retry_on: error
command: |
sudo apt-get install libseccomp-dev
git clone https://github.com/opencontainers/runc
@ -43,7 +42,6 @@ jobs:
timeout_minutes: 5
max_attempts: 3
retry_wait_seconds: 120
retry_on: error
command: |
export
- name: Build Docker image and tag
@ -52,7 +50,6 @@ jobs:
timeout_minutes: 60
max_attempts: 3
retry_wait_seconds: 120
retry_on: error
command: |
docker build \
--tag ${{ github.repository }}:${{ github.event.inputs.tags }} \
@ -64,7 +61,6 @@ jobs:
timeout_minutes: 30
max_attempts: 3
retry_wait_seconds: 120
retry_on: error
command: |
docker push ${{ github.repository }}:${{ github.event.inputs.tags }}
- name: Push Docker image to GitHub Container Registry (GHCR)
@ -73,6 +69,5 @@ jobs:
timeout_minutes: 30
max_attempts: 3
retry_wait_seconds: 120
retry_on: error
command: |
docker push ghcr.io/${{ github.repository }}:${{ github.event.inputs.tags }}
Loading…
Cancel
Save