File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -21,13 +21,20 @@ jobs:
2121 with :
2222 username : ${{ secrets.DOCKERHUB_USERNAME }}
2323 password : ${{ secrets.DOCKER_PASSWORD }}
24+ -
25+ name : Set variables
26+ run : |
27+ VER=$( grep -E '^version' build.gradle.kts | cut -d '"' -f 2 )
28+ echo "VERSION=$VER" >> $GITHUB_ENV
2429 -
2530 name : Build and push
2631 id : docker_build
2732 uses : docker/build-push-action@v2
2833 with :
2934 push : true
30- tags : livingwithhippos/unchainedbotkotlin:latest
35+ tags : |
36+ livingwithhippos/unchainedbotkotlin:latest
37+ livingwithhippos/unchainedbotkotlin:${{ env.VERSION }}
3138 build-args : |
3239 arg1=value1
3340 arg2=value2
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ plugins {
66}
77
88group = " com.github.livingwithhippos"
9- version = " 0.1 "
9+ version = " 0.2 "
1010
1111repositories {
1212 mavenCentral()
@@ -36,8 +36,6 @@ dependencies {
3636
3737 // Koin for Kotlin
3838 implementation (" io.insert-koin:koin-core:$koinVersion " )
39- // Koin extended & experimental features
40- // implementation ("org.koin:koin-core-ext:$koinVersion")
4139
4240 // telegram bot
4341 implementation (" io.github.kotlin-telegram-bot.kotlin-telegram-bot:telegram:$telegramVersion " )
You can’t perform that action at this time.
0 commit comments