github.com/pdmccormick/importable-docker-buildx@v0.0.0-20240426161518-e47091289030/hack/demo-env/examples/compose/config.hcl (about) 1 group "default" { 2 targets = ["db", "webapp"] 3 } 4 5 group "release" { 6 targets = ["db", "webapp-plus"] 7 } 8 9 target "db" { 10 context = "./" 11 tags = ["docker.io/tonistiigi/db"] 12 } 13 14 target "webapp" { 15 context = "./" 16 dockerfile = "Dockerfile.webapp" 17 args = { 18 buildno = "123" 19 } 20 } 21 22 target "cross" { 23 platforms = [ 24 "linux/amd64", 25 "linux/arm64" 26 ] 27 } 28 29 target "webapp-plus" { 30 inherits = ["webapp", "cross"] 31 args = { 32 IAMPLUS = "true" 33 } 34 }