Skip to content

Commit

Permalink
Make latest only with release tags docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
alekseinovikov committed Sep 29, 2021
1 parent 80d74d4 commit 3da4d60
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ jib {
image = "alekseinovikov/akaes"

val tagNameEnv = System.getenv("TAG_NAME")
val releaseTag = if (tagNameEnv.isNullOrBlank()) "develop" else tagNameEnv
tags = setOf(releaseTag, "latest")
tags = if (tagNameEnv.isNullOrBlank()) setOf("develop") else setOf(tagNameEnv, "latest")
}
}

0 comments on commit 3da4d60

Please sign in to comment.