Commit 1df43d42 authored by Ben Gamari's avatar Ben Gamari 🐢

Be more careful about quoting

parent 863921a8
......@@ -16,9 +16,10 @@ build:
tags:
- docker
script:
- for dir in $(ls -d */)
- |
for dir in $(ls -d */)
do
CONTAINER_IMAGE=$CONTAINER_IMAGE_BASE/${dir::-1}
CONTAINER_IMAGE="$CONTAINER_IMAGE_BASE/${dir::-1}"
docker pull $CONTAINER_IMAGE:latest || true
docker build --cache-from $CONTAINER_IMAGE:latest --tag $CONTAINER_IMAGE:$CI_COMMIT_SHA --tag $CONTAINER_IMAGE:latest linters/
docker push $CONTAINER_IMAGE:$CI_COMMIT_SHA
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment