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
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment