Skip to content

Commit 26ccd15

Browse files
authored
feat(build): add pull/push retries when authentication is required (short-term token case) #6750
Signed-off-by: Yaroslav Pershin <62902094+iapershin@users.noreply.github.com>
1 parent 04f99f7 commit 26ccd15

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: pkg/docker/image.go

+1
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ func doCliOperationWithRetries(ctx context.Context, op backoff.Operation[bool],
121121
"504 Gateway Time-out",
122122
"504 Gateway Timeout",
123123
"Internal Server Error",
124+
"authentication required",
124125
}, func(msgPart string) bool {
125126
return strings.Contains(errMsg, msgPart)
126127
})

0 commit comments

Comments
 (0)