Skip to content

Commit

Permalink
adjust image tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
mkimberlin committed Jul 25, 2024
1 parent cd22d89 commit 57e8f3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ micronaut {

dockerBuildNative {
def imageNameFromGithub = []
if (System.getenv('PROJECT_ID') != null && System.getenv('SERVICE_NAME') && System.getenv('GITHUB_SHA')) {
if (System.getenv('PROJECT_ID') != null && System.getenv('SERVICE_NAME')) {
imageNameFromGithub = ["ghcr.io/${System.getenv('PROJECT_ID')}/${System.getenv('SERVICE_NAME')}:${System.getenv("GITHUB_SHA")}".toString()]
}
images = ["checkins:latest"] + imageNameFromGithub
Expand Down

0 comments on commit 57e8f3f

Please sign in to comment.