Skip to content
Snippets Groups Projects
Commit c462f1b5 authored by Corné Lukken's avatar Corné Lukken
Browse files

L2SS-205: Do not quote set, required word splitting

parent 39abdeb1
No related branches found
No related tags found
1 merge request!183Docker image building & pushing with CI pipeline caching
......@@ -24,7 +24,8 @@ REMOTE_IMAGES=(
for image in "${REMOTE_IMAGES[@]}"; do
# Set, splits tuple into $1 and $2
set -- "$image"
# shellcheck disable=SC2086
set -- $image
remote_url="${DOCKER_REGISTRY_HOST}/${DOCKER_REGISTRY_USER}-${1}:${2}"
local_url="${LOCAL_DOCKER_REGISTRY_HOST}/${LOCAL_DOCKER_REGISTRY_USER}-${1}:${2}"
docker pull "${remote_url}"
......
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