Currently, rebase looks at config.toml for the run image to use when rebasing, based on stack. This is not guaranteed to produce stable results when rebasing, because this configuration can change at any time.
Also, run image names are now baked into the builder metadata, and are also configurable as local overrides. How should we combine this information together when rebasing to decided which image to rebase with?
Acceptance CriteriaWhen I run pack rebase without --run-imageThenpack rebase fails
When I run pack rebase --run-image my/run:imageThenpack rebase successfully rebases the OCI image with my/run:image
Currently,
rebase
looks at config.toml for the run image to use when rebasing, based on stack. This is not guaranteed to produce stable results when rebasing, because this configuration can change at any time.Also, run image names are now baked into the builder metadata, and are also configurable as local overrides. How should we combine this information together when rebasing to decided which image to rebase with?
Acceptance Criteria When I run
pack rebase
without--run-image
Thenpack rebase
failsWhen I run
pack rebase --run-image my/run:image
Thenpack rebase
successfully rebases the OCI image withmy/run:image