Skip to content

Commit 8c57998

Browse files
authored
Update build.gradle
1 parent 63a97e1 commit 8c57998

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,7 @@ tasks.withType(JavaCompile).configureEach {
207207
import com.bmuschko.gradle.docker.tasks.image.DockerBuildImage
208208
import com.bmuschko.gradle.docker.tasks.image.DockerPushImage
209209

210-
def imageName = "ghcr.io/${System.getenv("PROJECT_NAME")}:${mod_version}"
211-
imageName.replaceAll('-','_')
210+
def imageName = "ghcr.io/${System.getenv("PROJECT_NAME")}:${mod_version}".toLowerCase()
212211

213212
tasks.register('buildDockerImage', DockerBuildImage) {
214213
inputDir = project.projectDir

0 commit comments

Comments
 (0)