-
Notifications
You must be signed in to change notification settings - Fork 297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pack buildpack package
fails when using [[targets]]
with ERROR: no compatible stacks among provided buildpacks
#2047
Comments
This bug is blocking us from being able to publish It appears the validation error goes away if I add back an empty |
pack buildpack new
defaults result in a buildpack that fails to packagepack buildpack package
fails when using [[targets]]
with ERROR: no compatible stacks among provided buildpacks
I've updated the issue title to make this clearer that this is a general bug in |
Since we're now using a Pack CLI release that contains the fix for: buildpacks/pack#2047
Since we're now using a Pack CLI version in our CNB release automation that contains the fix for: buildpacks/pack#2047
Since we're now using a Pack CLI version in our CNB release automation that contains the fix for: buildpacks/pack#2047
Since we're now using a Pack CLI version in our CNB release automation that contains the fix for: buildpacks/pack#2047
Summary
When I use
pack buildpack new
with default options, the resulting generated buildpack fails to package withpack buildpack package
.Whilst the error can presumably be fixed by passing additional
--targets
options topack buildpack new
, I feel like the defaults should at least "just work" when immediately packaged on the same machine as that which generated the new buildpack.Reproduction
Steps
pack buildpack new test-buildpack
pack buildpack package --verbose --path test-buildpack/ --format file test-buildpack.cnb
Current behavior
Expected behavior
For the
pack buildpack package
command to succeed with no error.Environment
pack info
docker info
N/A
The text was updated successfully, but these errors were encountered: