Skip to content

Ability to Specify Build Network for Buildpack Image Builds #9744

@bogdannazarenko

Description

@bogdannazarenko

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions