Skip to content

Commit bc86093

Browse files
authored
fix(imagebuilder): lifecycle image not found
1 parent efd584a commit bc86093

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

rootfs/imagebuilder/build

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,14 @@ image_cache_repo="${registry}/${image_name}:latest"
9191
echo "---> Cache not found"
9292
}
9393
# Building
94+
export LIFECYCLE_IMAGE=docker.io/buildpacksio/lifecycle:8f801a5
9495
if [[ "${DRYCC_STACK}" == "container" ]] ; then
9596
echo "---> Building container"
9697
podman build -t "${image_cache_repo}" --network host .
9798
else
9899
echo "---> Building pack"
99100
echo "use builder ${pack_builder}"
100-
pack build "${image_cache_repo}" --builder "${pack_builder}" --docker-host "${DOCKER_HOST}" --lifecycle-image docker.io/drycc/lifecycle:0.11.3 --trust-builder --network host
101+
pack build "${image_cache_repo}" --builder "${pack_builder}" --docker-host "${DOCKER_HOST}" --lifecycle-image "${LIFECYCLE_IMAGE}" --trust-builder --network host
101102
fi
102103

103104
# Publish image

0 commit comments

Comments
 (0)