You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the lifecycle does not have the credentials needed to pull the run-image it prints a misleading error message claiming that the as-yet-to-be-created app-image has no layers:
failed to export: get run image top layer SHA: image <app-image-tag> has no layers
Reproduction
Steps
Push a <run-image> to a private registry
pack build with the --run-image <run-image> flag pointing to the private run image.
Observe the misleading error message.
Current behavior
Error message looks like:
failed to export: get run image top layer SHA: image <app-image-tag> has no layers
Expected
Something useful like:
failed to export: unable to read run-image '<run-image>': unauthorized
Context
lifecycle version
0.9.1
Warning This will likely require some (overdue) redesign of the imgutil library interface.
The text was updated successfully, but these errors were encountered:
Summary
When the lifecycle does not have the credentials needed to pull the
run-image
it prints a misleading error message claiming that the as-yet-to-be-created app-image has no layers:Reproduction
Steps
<run-image>
to a private registrypack build
with the--run-image <run-image>
flag pointing to the private run image.Current behavior
Error message looks like:
Expected
Something useful like:
Context
lifecycle version
0.9.1
Warning This will likely require some (overdue) redesign of the
imgutil
library interface.The text was updated successfully, but these errors were encountered: