Skip to content

Commit

Permalink
Docker images: use "latest" tag
Browse files Browse the repository at this point in the history
  • Loading branch information
agarciadom committed Jan 18, 2025
1 parent a8836b5 commit 0e7f445
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
6 changes: 5 additions & 1 deletion backend-server/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,9 @@ micronaut {
}

tasks.named("dockerBuild") {
images = ["ghcr.io/epsilonlabs/playground-backend:backend-server"]
images = (
dockerTags
.split(',')
.collect {"ghcr.io/epsilonlabs/playground-backend/backend-server:${it}"}
)
}
6 changes: 5 additions & 1 deletion ep-tool-server/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@ micronaut {
}

tasks.named("dockerBuild") {
images = ["ghcr.io/epsilonlabs/playground-backend:ep-tool-server"]
images = (
dockerTags
.split(',')
.collect {"ghcr.io/epsilonlabs/playground-backend/ep-tool-server:${it}"}
)
}

// Webpack for syntax highlighting
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
micronautVersion=4.6.3
epsilonVersion=2.5.0
dockerTags=latest
6 changes: 5 additions & 1 deletion standalone-server/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,11 @@ tasks.named("dockerfile") {
}

tasks.named("dockerBuild") {
images = ["ghcr.io/epsilonlabs/playground-backend:standalone-server"]
images = (
dockerTags
.split(',')
.collect {"ghcr.io/epsilonlabs/playground-backend/standalone-server:${it}"}
)
}

def clonedFrontendDir = 'build/frontend'
Expand Down

0 comments on commit 0e7f445

Please sign in to comment.