Validation of lifecycle image os/arch should be more flexible #2163
Labels
help wanted
Need some extra hands to get this done.
status/ready
Issue ready to be worked on.
type/chore
Issue that requests non-user facing changes.
Description
Right now, we hard code the supported lifecycle os/arch combinations. #2086 will expand the list of supported architectures (search for
SupportedLinuxArchitecture
) to includeppc64le
ands390x
as the lifecycle now supports those. However, this is brittle, and it will be annoying to have to modify pack every time the lifecycle supports a new architecture. We should read the lifecycle image (buildpacksio/lifecycle) manifest list to determine the supported architectures.Additionally, when the requested architecture is not found, we currently just fall back to linux/amd64 which seems sub-optimal. #2086 adds a warning but we should probably turn this into an error case.
The text was updated successfully, but these errors were encountered: