generates & validates a docker-bake.json file in cue.
these are located in the *_tool.cue file(s) in this directory.
-
generates a
docker-bake.jsonfile in the current directory. -
generates corresponding
.githubworkflow(s).
-
runs
cue cmd generateto generate adocker-bake.jsonfile in the current directory. -
validates the generated file by running (essentially)
docker buildx bake --print.
-
runs
cue cmd validate. -
builds the default "target" of the generated
docker-bake.jsonfile by running (essentially)docker buildx bake.