Add disabling docker build mode after build has been completed

This commit is contained in:
InsanusMokrassar 2021-02-02 19:42:33 +06:00 committed by GitHub
parent 4900cb1ab9
commit bf1f3a78fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

3
deploy
View File

@ -18,8 +18,9 @@ app=configurable_inline_telegram_bot
version=0.1 version=0.1
export DOCKER_BUILD=true export DOCKER_BUILD=true
assert_success ./gradlew build assert_success ./gradlew build
export DOCKER_BUILD=false
assert_success docker build -t $app:"$version" . assert_success docker build -t $app:"$version" .
assert_success docker tag $app:"$version" $user/$app:$version assert_success docker tag $app:"$version" $user/$app:$version
assert_success docker tag $app:"$version" $user/$app:latest assert_success docker tag $app:"$version" $user/$app:latest