Skip to content

Commit 184274d

Browse files
authored
feature Retry Logic improvements. (#35)
* bugfix retry logic * update wait 30 * update default values for retry
1 parent fea0924 commit 184274d

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

action.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,11 @@ inputs:
4343
promote-retry-timeout-seconds:
4444
description: 'Promote retry timeout seconds'
4545
required: false
46-
default: '15'
46+
default: '3000'
47+
promote-retry-wait-seconds:
48+
description: 'Promote retry wait seconds'
49+
required: false
50+
default: '30'
4751

4852
outputs:
4953
image:
@@ -133,8 +137,9 @@ runs:
133137
with:
134138
shell: bash
135139
timeout_seconds: ${{ inputs.promote-retry-timeout-seconds }}
140+
retry_wait_seconds: ${{ inputs.promote-retry-wait-seconds }}
136141
max_attempts: ${{ inputs.promote-retry-max-attempts }}
137-
retry_on: timeout
142+
retry_on: any
138143
command: |
139144
docker pull ${{ steps.from.outputs.tags }}
140145

0 commit comments

Comments
 (0)