Skip to content

buildctl: Use CSV style for --frontend and --export #774

@AkihiroSuda

Description

@AkihiroSuda

#615 (comment)

Frontend

  • Old style: --frontend dockerfile.v0 --frontend-opt target=foo --frontend-opt build-arg:foo=bar
  • New style: --frontend type=dockerfile.v0,target=foo,build-arg:foo=bar

Export

  • Old style: --exporter image --exporter-opt name=docker.io/username/image --exporter-opt push=true
  • New style: --export type=image,name=docker.io/username/image,push=true
    • s/exporter/export/ for consistency with --cache-export, probably
    • Multiple --export should be supported

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions