Skip to content

jakelogemann/bbq

Repository files navigation

generates & validates a docker-bake.json file in cue.

commands

these are located in the *_tool.cue file(s) in this directory.

cue cmd generate

  • generates a docker-bake.json file in the current directory.

  • generates corresponding .github workflow(s).

cue cmd validate

  1. runs cue cmd generate to generate a docker-bake.json file in the current directory.

  2. validates the generated file by running (essentially) docker buildx bake --print.

cue cmd build

  1. runs cue cmd validate.

  2. builds the default "target" of the generated docker-bake.json file by running (essentially) docker buildx bake.

cue cmd list

  • list all currently available commands.

local dependencies

  • cue

  • docker (with buildkit support)

  • go (optional)

  • patience.