✋ Travis docker can't do squash
This commit is contained in:
parent
dca64f55f5
commit
d2ec32fefe
2
build.sh
2
build.sh
@ -43,7 +43,7 @@ else
|
||||
fi
|
||||
|
||||
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}'"
|
||||
|
||||
if [ "${2}" == "--push" ] ; then
|
||||
|
Loading…
Reference in New Issue
Block a user