Skip to content
Snippets Groups Projects
Commit e9dd2c9b authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

Merge branch 'kaniko_cache_repo_fix' into 'master'

fix(kaniko): Allow repositories with port numbers to be used for caching

See merge request to-be-continuous/docker!81
parents 531a5395 d17e215c
No related branches found
No related tags found
No related merge requests found
...@@ -416,7 +416,7 @@ stages: ...@@ -416,7 +416,7 @@ stages:
function run_build_kaniko() { function run_build_kaniko() {
docker_image=$1 docker_image=$1
kaniko_registry_repository=$(echo "$DOCKER_SNAPSHOT_IMAGE" | cut -d: -f1) kaniko_registry_repository="${DOCKER_SNAPSHOT_IMAGE%:*}"
shift shift
if [[ -n "$DOCKER_REGISTRY_MIRROR" ]] if [[ -n "$DOCKER_REGISTRY_MIRROR" ]]
then then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment