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

Feature request: Allow storing builder configurations in a file #2799

Open
lumattr opened this issue Nov 20, 2024 · 0 comments
Open

Feature request: Allow storing builder configurations in a file #2799

lumattr opened this issue Nov 20, 2024 · 0 comments
Labels
kind/enhancement New feature or request status/triage

Comments

@lumattr
Copy link

lumattr commented Nov 20, 2024

Description

I would like to use the multiplatform building in my CI but ideally i would like to predefine a config file for consistency rather that having to run docker buildx create and appending for platform types. It would be good if i could do something like docker buildx create --from builders.yaml and then jump straight into building.

i.e.

# builders.yaml
kube:
  arm64:
    driver: kubernetes
    driver-opt: 
      namepace: buildkit
      nodeselector: "kubernetes.io/arch=arm64"
    platform:
      - linux/arm64
  amd64:
    driver: kubernetes
    driver-opt: 
      namepace: buildkit
      nodeselector: "kubernetes.io/arch=amd64"
    platform:
      - linux/amd64
@lumattr lumattr added kind/enhancement New feature or request status/triage labels Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request status/triage
Projects
None yet
Development

No branches or pull requests

1 participant