From d81a849a842747ea9f101671317a40ecf6ccdaca Mon Sep 17 00:00:00 2001 From: binhex Date: Mon, 1 Jul 2024 13:54:18 +0100 Subject: [PATCH] attempt at new retry code --- .github/workflows/workflow-docker-manual.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/workflow-docker-manual.yml b/.github/workflows/workflow-docker-manual.yml index 912d707..f5c8557 100644 --- a/.github/workflows/workflow-docker-manual.yml +++ b/.github/workflows/workflow-docker-manual.yml @@ -70,13 +70,17 @@ jobs: echo "app_name=$app_name" >> $GITHUB_OUTPUT id: generate_app_name - name: Build amd64 image and export to Docker for testing - uses: docker/build-push-action@v5 + uses: Wandalen/wretry.action@master with: - context: . - load: true - tags: ghcr.io/${{ github.repository }}:${{ steps.generate_temporary_tag_name.outputs.test_tag }} - build-args: | - RELEASETAG=${{ github.event.inputs.tags }} + action: docker/build-push-action@v5 + with: | + context: . + load: true + tags: ghcr.io/${{ github.repository }}:${{ steps.generate_temporary_tag_name.outputs.test_tag }} + build-args: | + RELEASETAG=${{ steps.identify_github_release_tag_name.outputs.tag }} + attempt_limit: 3 + attempt_delay: 2000 - name: Run tests using previously built image shell: bash run: |