Skip to content

Commit 314fc06

Browse files
authored
Updating lifecycle image registry for local development (buildpacks-community#1856)
While running script hack/local.sh to setup the sandbox env, build failed as it was unable to find the lifecycle introduced in buildpacks-community#1849. Since there is not a default image in the schema, we have to provide an override in the kbld config. Signed-off-by: Rashed Kamal <rashed.kamal@broadcom.com>
1 parent 5895e25 commit 314fc06

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

hack/build.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ function generate_kbld_config_pack() {
6868
build:
6969
builder: paketobuildpacks/builder-jammy-tiny
7070
rawOptions: [${completion_args// /,}]
71+
overrides:
72+
- image: lifecycle
73+
newImage: mirror.gcr.io/buildpacksio/lifecycle
7174
destinations:
7275
- image: controller
7376
newImage: $controller_image
@@ -127,6 +130,9 @@ function generate_kbld_config_ko() {
127130
ko:
128131
build:
129132
rawOptions: [${args// /,}]
133+
overrides:
134+
- image: lifecycle
135+
newImage: mirror.gcr.io/buildpacksio/lifecycle
130136
destinations:
131137
- image: controller
132138
newImage: $controller_image

0 commit comments

Comments
 (0)