Skip to content

Commit 1541e85

Browse files
authored
Merge pull request #37 from devilbox/release-0.1.44
Use custom retry action for downloading artifacts
2 parents a3586f4 + d461b3c commit 1541e85

File tree

3 files changed

+6
-18
lines changed

3 files changed

+6
-18
lines changed

.github/workflows/docker-multistage-build.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,9 @@ jobs:
107107
### Download and import previously built image (if it exists)
108108
###
109109
- name: "[Artifact Load] Download previously built image"
110-
uses: Wandalen/wretry.action@v1.0.12
110+
uses: cytopia/download-artifact-retry-action@v0.1.0
111111
with:
112-
action: actions/download-artifact@v2
113-
with: |
114-
name: ${{ steps.set-artifact-name.outputs.prev }}
115-
attempt_limit: 20
116-
attempt_delay: 10000
112+
name: ${{ steps.set-artifact-name.outputs.prev }}
117113
if: ${{ inputs.stage_prev != '' }}
118114

119115
- name: "[Artifact Load] Import previously built image"

.github/workflows/docker-multistage-push-image.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,9 @@ jobs:
9696
### Download and import previously built image
9797
###
9898
- name: "[Artifact Load] Download previously built image"
99-
uses: Wandalen/wretry.action@v1.0.12
99+
uses: cytopia/download-artifact-retry-action@v0.1.0
100100
with:
101-
action: actions/download-artifact@v2
102-
with: |
103-
name: ${{ steps.set-artifact-name.outputs.curr }}
104-
attempt_limit: 20
105-
attempt_delay: 10000
101+
name: ${{ steps.set-artifact-name.outputs.curr }}
106102

107103
- name: "[Artifact Load] Import previously built image"
108104
uses: cytopia/[email protected]

.github/workflows/docker-multistage-test.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,9 @@ jobs:
7878
### Download and import previously built image
7979
###
8080
- name: "[Artifact Load] Download previously built image"
81-
uses: Wandalen/wretry.action@v1.0.12
81+
uses: cytopia/download-artifact-retry-action@v0.1.0
8282
with:
83-
action: actions/download-artifact@v2
84-
with: |
85-
name: ${{ steps.set-artifact-name.outputs.curr }}
86-
attempt_limit: 20
87-
attempt_delay: 10000
83+
name: ${{ steps.set-artifact-name.outputs.curr }}
8884

8985
- name: "[Artifact Load] Import previously built image"
9086
uses: cytopia/[email protected]

0 commit comments

Comments
 (0)