Allow image Created date to be configurable
A `createdDate` option on the Maven `spring-boot:build-image` goal and the Gradle `bootBuildImage` task can be used to set the `Created` metadata field on a generated OCI image to a specified date or to the current date. Closes gh-28798
This commit is contained in:
@@ -10,6 +10,6 @@ docker tag paketobuildpacks/run:tiny-cnb projects.registry.vmware.com/springboot
|
||||
docker push projects.registry.vmware.com/springboot/run:tiny-cnb
|
||||
|
||||
cd builder
|
||||
pack builder create projects.registry.vmware.com/springboot/spring-boot-cnb-builder:0.0.1 --config builder.toml
|
||||
docker push projects.registry.vmware.com/springboot/spring-boot-cnb-builder:0.0.1
|
||||
cd -
|
||||
pack builder create projects.registry.vmware.com/springboot/spring-boot-cnb-builder:0.0.2 --config builder.toml
|
||||
docker push projects.registry.vmware.com/springboot/spring-boot-cnb-builder:0.0.2
|
||||
cd -
|
||||
|
||||
@@ -1,17 +1,21 @@
|
||||
# Buildpacks to include in builder
|
||||
[[buildpacks]]
|
||||
id = "spring-boot/test-info"
|
||||
version = "0.0.1"
|
||||
version = "0.0.2"
|
||||
uri = "../buildpacks/test-info"
|
||||
|
||||
# Order used for detection
|
||||
[[order]]
|
||||
[[order.group]]
|
||||
id = "spring-boot/test-info"
|
||||
version = "0.0.1"
|
||||
version = "0.0.2"
|
||||
|
||||
# Stack that will be used by the builder
|
||||
[stack]
|
||||
id = "io.paketo.stacks.tiny"
|
||||
build-image = "projects.registry.vmware.com/springboot/build:tiny-cnb"
|
||||
run-image = "projects.registry.vmware.com/springboot/run:tiny-cnb"
|
||||
|
||||
# Lifecycle executable version that will be used by the builder
|
||||
[lifecycle]
|
||||
version = "0.15.3"
|
||||
@@ -1,10 +1,10 @@
|
||||
# Buildpack API version
|
||||
api = "0.2"
|
||||
api = "0.8"
|
||||
|
||||
# Buildpack ID and metadata
|
||||
[buildpack]
|
||||
id = "spring-boot/test-info"
|
||||
version = "0.0.1"
|
||||
version = "0.0.2"
|
||||
name = "Spring Boot Test Info Buildpack"
|
||||
homepage = "https://github.com/spring-projects/spring-boot"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user