From 57e8f3fe62dbd8f53a5fac639127bcf0f25407c6 Mon Sep 17 00:00:00 2001 From: Michael Kimberlin Date: Thu, 25 Jul 2024 15:32:14 -0500 Subject: [PATCH] adjust image tagging --- server/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/build.gradle b/server/build.gradle index df222aae4..456153ae2 100755 --- a/server/build.gradle +++ b/server/build.gradle @@ -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