Configure retries for docker pull operations #222
Labels
backlog
Identified as a backlog item, often combined with low-priority and help-wanted labels
enhancement
New feature or request
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 pipelineSomething 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:
The text was updated successfully, but these errors were encountered: