Skip to content

Commit

Permalink
Update bootBuildImage pullPolicy
Browse files Browse the repository at this point in the history
  • Loading branch information
rigofunc committed Jun 25, 2024
1 parent 6458e1b commit b90770a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
4 changes: 2 additions & 2 deletions mall-catalog/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ bootRun {

// https://docs.spring.io/spring-boot/gradle-plugin/packaging-oci-image.html
bootBuildImage {
builder = "docker.io/paketobuildpacks/builder-jammy-base"
// imageName = "thales/${project.name}:${version}"
builder = "paketobuildpacks/builder-jammy-base:latest"
pullPolicy = "IF_NOT_PRESENT"
imageName = "${project.name}"
environment = ["BP_JVM_VERSION": "17"]

Expand Down
3 changes: 2 additions & 1 deletion mall-config/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ dependencyManagement {
}

bootBuildImage {
builder = "docker.io/paketobuildpacks/builder-jammy-base"
builder = "paketobuildpacks/builder-jammy-base:latest"
pullPolicy = "IF_NOT_PRESENT"
imageName = "${project.name}"
environment = ["BP_JVM_VERSION": "17"]

Expand Down
3 changes: 2 additions & 1 deletion mall-dispatcher/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ dependencyManagement {
}

bootBuildImage {
builder = "docker.io/paketobuildpacks/builder-jammy-base"
builder = "paketobuildpacks/builder-jammy-base:latest"
pullPolicy = "IF_NOT_PRESENT"
imageName = "${project.name}"
environment = ["BP_JVM_VERSION" : "17"]

Expand Down
3 changes: 2 additions & 1 deletion mall-edge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ dependencyManagement {
}

bootBuildImage {
builder = "docker.io/paketobuildpacks/builder-jammy-base"
builder = "paketobuildpacks/builder-jammy-base:latest"
pullPolicy = "IF_NOT_PRESENT"
imageName = "${project.name}"
environment = ["BP_JVM_VERSION" : "17"]

Expand Down
3 changes: 2 additions & 1 deletion mall-order/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ dependencyManagement {
}

bootBuildImage {
builder = "docker.io/paketobuildpacks/builder-jammy-base"
builder = "paketobuildpacks/builder-jammy-base:latest"
pullPolicy = "IF_NOT_PRESENT"
imageName = "${project.name}"
environment = ["BP_JVM_VERSION" : "17"]

Expand Down

0 comments on commit b90770a

Please sign in to comment.