File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed
Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 6161 IMAGE=${IMAGE_NAME}:${NEW_VERSION}
6262 echo "Releasing new version ${NEW_VERSION} of $IMAGE"
6363 ./gradlew -Pversion=${NEW_VERSION} publish publishToSonatype closeAndReleaseStagingRepository -Dorg.gradle.internal.publish.checksums.insecure=true --info
64- ./gradlew jibDockerBuild --image="${IMAGE}"
65- docker push "${IMAGE}"
64+ ./gradlew jib --image="${IMAGE}"
6665
Original file line number Diff line number Diff line change @@ -174,7 +174,17 @@ tasks.javadoc {
174174
175175jib {
176176 from {
177- image = " gcr.io/distroless/java:11"
177+ platforms {
178+ platform {
179+ architecture = " amd64"
180+ os = " linux"
181+ }
182+ platform {
183+ architecture = " arm64"
184+ os = " linux"
185+ }
186+ }
187+ image = " gcr.io/distroless/java11-debian11"
178188 }
179189 container {
180190 ports = listOf (" 8080" )
You can’t perform that action at this time.
0 commit comments