Changes the build script's messages to be more precise
This commit is contained in:
parent
57c848978c
commit
fe82d10aeb
4
build.sh
4
build.sh
|
@ -41,7 +41,7 @@ docker build -f Dockerfile -t "${DOCKER_REPO}/netbox:${TAG}" --build-arg "BRANCH
|
||||||
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
|
||||||
echo "⏫ Pushing 'netbox:${BRANCH}"
|
echo "⏫ Pushing '${DOCKER_REPO}/netbox:${BRANCH}"
|
||||||
docker push "${DOCKER_REPO}/netbox:${TAG}"
|
docker push "${DOCKER_REPO}/netbox:${TAG}"
|
||||||
echo "✅ Finished pushing the Docker images."
|
echo "✅ Finished pushing the Docker image '${DOCKER_REPO}/netbox:${TAG}'."
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue