Fix of Docker build & release shell scrip

pull/642/head
Dr. Sergey Pogodin 6 years ago
parent 450a1be06c
commit 5f8d7382ef
  1. 9
      docker_build_and_deploy.sh

@ -4,7 +4,14 @@ set -eo pipefail
NAME=$1
VERSION_TAG=${NAME}:${CIRCLE_TAG#?}
if [ -z $CIRCLE_TAG ];
then
VERSION=${CIRCLE_TAG#?}
else
VERSION=${CRICLE_SHA1}
fi
VERSION_TAG=${NAME}:${VERSION}
LATEST_TAG=${NAME}:latest
docker build -t ${VERSION_TAG} .

Loading…
Cancel
Save