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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -416,7 +416,7 @@ stages:

  function run_build_kaniko() {
    docker_image=$1
    kaniko_registry_repository=$(echo "$DOCKER_SNAPSHOT_IMAGE" | cut -d: -f1)
    kaniko_registry_repository="${DOCKER_SNAPSHOT_IMAGE%:*}"
    shift
    if [[ -n "$DOCKER_REGISTRY_MIRROR" ]]
    then