mirror of
https://github.com/docker/metadata-action.git
synced 2024-09-09 01:19:07 +02:00
39 lines
527 B
HCL
39 lines
527 B
HCL
|
target "ghaction-docker-meta" {}
|
||
|
|
||
|
group "default" {
|
||
|
targets = ["db", "app"]
|
||
|
}
|
||
|
|
||
|
group "release" {
|
||
|
targets = ["db", "app-plus"]
|
||
|
}
|
||
|
|
||
|
target "db" {
|
||
|
context = "./test"
|
||
|
tags = ["docker.io/tonistiigi/db"]
|
||
|
}
|
||
|
|
||
|
target "app" {
|
||
|
inherits = ["ghaction-docker-meta"]
|
||
|
context = "./test"
|
||
|
dockerfile = "Dockerfile"
|
||
|
args = {
|
||
|
name = "foo"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
target "cross" {
|
||
|
platforms = [
|
||
|
"linux/amd64",
|
||
|
"linux/arm64",
|
||
|
"linux/386"
|
||
|
]
|
||
|
}
|
||
|
|
||
|
target "app-plus" {
|
||
|
inherits = ["app", "cross"]
|
||
|
args = {
|
||
|
IAMPLUS = "true"
|
||
|
}
|
||
|
}
|