Travis docker can't do squash

This commit is contained in:
Christian Mäder 2018-01-30 16:00:05 +01:00
parent dca64f55f5
commit d2ec32fefe
No known key found for this signature in database
GPG Key ID: 92FFD0A711F196BB

View File

@ -43,7 +43,7 @@ else
fi fi
echo "🐳 Building the Docker image '${DOCKER_REPO}/netbox:${TAG}' from the branch '${BRANCH}'." echo "🐳 Building the Docker image '${DOCKER_REPO}/netbox:${TAG}' from the branch '${BRANCH}'."
docker build --squash -t "${DOCKER_REPO}/netbox:${TAG}" --build-arg "BRANCH=${BRANCH}" --build-arg "URL=${URL}" --pull ${CACHE} . docker build -t "${DOCKER_REPO}/netbox:${TAG}" --build-arg "BRANCH=${BRANCH}" --build-arg "URL=${URL}" --pull ${CACHE} .
echo "✅ Finished building the Docker images '${DOCKER_REPO}/netbox:${TAG}'" echo "✅ Finished building the Docker images '${DOCKER_REPO}/netbox:${TAG}'"
if [ "${2}" == "--push" ] ; then if [ "${2}" == "--push" ] ; then