-
Notifications
You must be signed in to change notification settings - Fork 150
Open
Labels
enhancementNew feature or requestNew feature or request
Description
What would you like to be added
Would be nice to see the addition of a parameter that sits above any commands that do docker pull operations. This parameter would just be a number to stipulate how many times the script should retry docker pull
failures before aborting the pipeline
Something like:
docker-pull-retries: 3
Why is this needed
The majority of our pipeline failures occur around a TLS timeout when doing pull operations (in our case doing the build-and-push-image
command). The impact of this failure can be reduced by implementing a pause and retry pattern.
example of error:
Successfully created context "builder"
Unable to find image 'tonistiigi/binfmt:latest' locally
latest: Pulling from tonistiigi/binfmt
64c318a5: Pulling fs layer
docker: error pulling image configuration: ... : net/http: TLS handshake timeout.
seanturner026, michael-cybrid and xakraz
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request