mirror of
https://github.com/InsanusMokrassar/ConfigurableInlineTelegramBot.git
synced 2024-11-25 03:28:48 +00:00
update deploy script
This commit is contained in:
parent
290e77cc4c
commit
3f6dee57fb
7
deploy
7
deploy
@ -13,6 +13,7 @@ function assert_success() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
user=insanusmokrassar
|
||||||
app=configurable_inline_telegram_bot
|
app=configurable_inline_telegram_bot
|
||||||
version=0.1
|
version=0.1
|
||||||
|
|
||||||
@ -20,5 +21,7 @@ export DOCKER_BUILD=true
|
|||||||
|
|
||||||
assert_success ./gradlew build
|
assert_success ./gradlew build
|
||||||
assert_success docker build -t $app:"$version" .
|
assert_success docker build -t $app:"$version" .
|
||||||
assert_success docker tag $app:"$version" $app
|
assert_success docker tag $app:"$version" $user/$app:$version
|
||||||
assert_success docker push $app
|
assert_success docker tag $app:"$version" $user/$app:latest
|
||||||
|
assert_success docker push $user/$app:$version
|
||||||
|
assert_success docker push $user/$app:latest
|
||||||
|
Loading…
Reference in New Issue
Block a user