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

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

parent 531a5395
Branches
Tags
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