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

Ability to Specify Build Network for Buildpack Image Builds #9744

Open
bogdannazarenko opened this issue Mar 5, 2025 · 0 comments · May be fixed by #9745
Open

Ability to Specify Build Network for Buildpack Image Builds #9744

bogdannazarenko opened this issue Mar 5, 2025 · 0 comments · May be fixed by #9745

Comments

@bogdannazarenko
Copy link
Contributor

bogdannazarenko commented Mar 5, 2025

Existing Skaffold config schema does not allow specifying a container build network for buildpack image builds.

Need to specify build network arrises when trying to build image using buildpack on Google Cloud Build Private Pool and accessing ADC (application default credentials) to further authenticate to Artifact Registry (e.g. private npm registry). ADC are available on docker build network cloudbuild. Google Docs

build:
  - image: myimage
    buildpacks:
         projectDescriptor: project.toml
         network: cloudbuild

The build config should append --network cloudbuild to pack cli

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant