da068165f6
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
24 lines
338 B
HCL
24 lines
338 B
HCL
variable "BUNDLES_OUTPUT" {
|
|
default = "./bundles"
|
|
}
|
|
|
|
target "_common" {
|
|
args = {
|
|
BUILDKIT_CONTEXT_KEEP_GIT_DIR = 1
|
|
}
|
|
}
|
|
|
|
group "default" {
|
|
targets = ["binary"]
|
|
}
|
|
|
|
target "binary" {
|
|
inherits = ["_common"]
|
|
target = "binary"
|
|
output = [BUNDLES_OUTPUT]
|
|
}
|
|
|
|
target "dynbinary" {
|
|
inherits = ["binary"]
|
|
target = "dynbinary"
|
|
}
|