-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathdocker-bake.hcl
More file actions
47 lines (39 loc) · 812 Bytes
/
docker-bake.hcl
File metadata and controls
47 lines (39 loc) · 812 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
target "docker-metadata-action" {}
variable "APP" {
default = "unpackerr"
}
variable "VERSION" {
// renovate: datasource=github-releases depName=Unpackerr/unpackerr
default = "0.15.0"
}
variable "LICENSE" {
default = "AGPL-3.0-or-later"
}
variable "SOURCE" {
default = "https://github.com/Unpackerr/unpackerr"
}
group "default" {
targets = ["image-local"]
}
target "image" {
inherits = ["docker-metadata-action"]
args = {
VERSION = "${VERSION}"
}
labels = {
"org.opencontainers.image.source" = "${SOURCE}"
"org.opencontainers.image.licenses" = "${LICENSE}"
}
}
target "image-local" {
inherits = ["image"]
output = ["type=docker"]
tags = ["${APP}:${VERSION}"]
}
target "image-all" {
inherits = ["image"]
platforms = [
"linux/amd64",
"linux/arm64"
]
}