Skip to content

Commit

Permalink
retry on error
Browse files Browse the repository at this point in the history
  • Loading branch information
daimor authored Nov 17, 2023
1 parent d9e1c14 commit a352319
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ jobs:
with:
timeout_minutes: 10
max_attempts: 3
retry_on: timeout
retry_on: any
command: |
docker build --file Dockerfile-amd64 --build-arg IMAGE=${{ steps.vars.outputs.base }} --build-arg IMAGEARM=${{ steps.vars.outputs.basearm }} ${{ steps.vars.outputs.tags }} --platform linux/amd64 .
docker build --progress plain --no-cache --file Dockerfile-amd64 --build-arg IMAGE=${{ steps.vars.outputs.base }} --build-arg IMAGEARM=${{ steps.vars.outputs.basearm }} ${{ steps.vars.outputs.tags }} --platform linux/amd64 .
- name: push to docker hub
id: push
if: steps.login.outcome == 'success'
Expand All @@ -109,10 +109,10 @@ jobs:
with:
timeout_minutes: 10
max_attempts: 3
retry_on: timeout
retry_on: any
command: |
docker system prune -f
docker build --file Dockerfile-arm64 --build-arg IMAGE=${{ steps.vars.outputs.base }} --build-arg IMAGEARM=${{ steps.vars.outputs.basearm }} ${{ steps.vars.outputs.tagsarm }} --platform linux/arm64 .
docker build --progress plain --no-cache --file Dockerfile-arm64 --build-arg IMAGE=${{ steps.vars.outputs.base }} --build-arg IMAGEARM=${{ steps.vars.outputs.basearm }} ${{ steps.vars.outputs.tagsarm }} --platform linux/arm64 .
- name: push arm64 to docker hub
id: pusharm
if: steps.buildarm.outcome == 'success'
Expand Down

0 comments on commit a352319

Please sign in to comment.