Update run-docker.sh

This commit is contained in:
Pascal Vizeli 2017-05-14 11:53:25 +02:00 committed by GitHub
parent f4cf8b4e43
commit 82305fd8cf

View file

@ -64,7 +64,7 @@ if [ "$DOCKER_CACHE" == "true" ]; then
docker pull "$DOCKER_IMAGE:latest"
docker build --pull --tag "$DOCKER_IMAGE:$DOCKER_TAG" --cache-from "$DOCKER_IMAGE:latest" .
else
docker build --pull --tag "$DOCKER_IMAGE:$DOCKER_TAG" "$CACHE_CMD" .
docker build --pull --tag "$DOCKER_IMAGE:$DOCKER_TAG" .
fi
docker tag "$DOCKER_IMAGE:$DOCKER_TAG" "$DOCKER_IMAGE:latest"