Commit b179dd35 authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

retry image building job

parent e403aaff
Pipeline #31391 passed with stages
in 7 minutes and 22 seconds
......@@ -18,6 +18,10 @@ include:
- mkdir -p /kaniko/.docker
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/$DOCKERFILE --destination $IMAGE_TAG --build-arg BUILD_WITH="$BUILD_WITH"
retry:
max: 2
when:
- script_failure
build-latest:
extends: .build-image
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment