Skip to content
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

Aggregate publish buildpack command #749

Open
1 task done
Tracked by #752
jromero opened this issue Jul 16, 2020 · 1 comment
Open
1 task done
Tracked by #752

Aggregate publish buildpack command #749

jromero opened this issue Jul 16, 2020 · 1 comment
Labels
experimental Issue or PR refers to an experimental feature. help wanted Need some extra hands to get this done. status/ready Issue ready to be worked on. type/enhancement Issue that requests a new feature or improvement.

Comments

@jromero
Copy link
Member

jromero commented Jul 16, 2020

Description

As a buildpack user, I'd like to run a single command instead of two to package and push a buildpack to a registry.

Today, I must run both commands:

pack package-buildpack <image-name(out)> -c <config(in)>
pack register-buildpack <image-name(in)>

Proposed solution

The proposed solution as discussed as part of RFC #44:

# package + register
pack publish-buildpack <image-name> [-r <registry-name>] -c <config(in)>

Describe alternatives you've considered

As an alternative a single flag can be added to package-buildpack that does the registration.

pack package-buildpack <image-name(out)> <config(in)> --register <registry-name>

Additional context

  • This feature should be documented somewhere
@jromero jromero added experimental Issue or PR refers to an experimental feature. type/enhancement Issue that requests a new feature or improvement. status/blocked Issue or PR that is blocked. See comments. labels Jul 17, 2020
@dfreilich
Copy link
Member

Hmm. With the number of commands we have for buildpacks, I would find register vs publish to be confusing, almost perhaps aliases of each other. I'd probably rather adding it as a flag to package-buildpack, similar to our --publish flag for build

@jromero jromero mentioned this issue Sep 1, 2020
6 tasks
@jromero jromero added status/ready Issue ready to be worked on. and removed status/blocked Issue or PR that is blocked. See comments. labels Oct 6, 2021
@natalieparellano natalieparellano added the help wanted Need some extra hands to get this done. label Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
experimental Issue or PR refers to an experimental feature. help wanted Need some extra hands to get this done. status/ready Issue ready to be worked on. type/enhancement Issue that requests a new feature or improvement.
Projects
None yet
Development

No branches or pull requests

3 participants