mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-20 18:57:44 +08:00
fix indentations in example
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
parent
bfd1ea3877
commit
5843e67a90
16
README.md
16
README.md
@ -749,17 +749,17 @@ variable "TAG" {default="" }
|
|||||||
|
|
||||||
group "default" {
|
group "default" {
|
||||||
targets = [
|
targets = [
|
||||||
"webapp",
|
"webapp",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
target "webapp" {
|
target "webapp" {
|
||||||
context="."
|
context="."
|
||||||
dockerfile="Dockerfile"
|
dockerfile="Dockerfile"
|
||||||
tags = [
|
tags = [
|
||||||
"my-image:latest",
|
"my-image:latest",
|
||||||
notequal("",TAG) ? "my-image:${TAG}": "",
|
notequal("",TAG) ? "my-image:${TAG}": "",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user