chore: Update Docker build workflow for reliability improvements (#6760)
* fix: Update Docker build workflow to use Wandalen/wretry.action for improved reliability * fix: Remove attempt limit and delay from Docker build workflow * fix: Add comment to clarify provenance setting in Docker build workflow
This commit is contained in:
parent
51e3121d03
commit
d545e8d302
1 changed files with 31 additions and 25 deletions
12
.github/workflows/docker-build.yml
vendored
12
.github/workflows/docker-build.yml
vendored
|
|
@ -205,8 +205,10 @@ jobs:
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Build and Push to Docker Hub
|
- name: Build and Push to Docker Hub
|
||||||
uses: docker/build-push-action@v6
|
uses: Wandalen/wretry.action@master
|
||||||
with:
|
with:
|
||||||
|
action: docker/build-push-action@v6
|
||||||
|
with: |
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
file: ${{ needs.setup.outputs.file }}
|
file: ${{ needs.setup.outputs.file }}
|
||||||
|
|
@ -223,8 +225,10 @@ jobs:
|
||||||
password: ${{ secrets.TEMP_GHCR_TOKEN}}
|
password: ${{ secrets.TEMP_GHCR_TOKEN}}
|
||||||
|
|
||||||
- name: Build and push to Github Container Registry
|
- name: Build and push to Github Container Registry
|
||||||
uses: docker/build-push-action@v6
|
uses: Wandalen/wretry.action@master
|
||||||
with:
|
with:
|
||||||
|
action: docker/build-push-action@v6
|
||||||
|
with: |
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
file: ${{ needs.setup.outputs.file }}
|
file: ${{ needs.setup.outputs.file }}
|
||||||
|
|
@ -287,8 +291,10 @@ jobs:
|
||||||
run: sleep 120
|
run: sleep 120
|
||||||
|
|
||||||
- name: Build and push ${{ matrix.component }}
|
- name: Build and push ${{ matrix.component }}
|
||||||
uses: docker/build-push-action@v6
|
uses: Wandalen/wretry.action@master
|
||||||
with:
|
with:
|
||||||
|
action: docker/build-push-action@v6
|
||||||
|
with: |
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
build-args: |
|
build-args: |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue