-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathdocker-bake.hcl
More file actions
63 lines (52 loc) · 1.19 KB
/
docker-bake.hcl
File metadata and controls
63 lines (52 loc) · 1.19 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
target "docker-metadata-action" {}
variable "APP" {
default = "actions-runner"
}
variable "VERSION" {
// renovate: datasource=github-releases depName=actions/runner
default = "2.331.0"
}
variable "BUILDX_VERSION" {
default = "0.28.0"
}
variable "RUNNER_CONTAINER_HOOKS_VERSION" {
// renovate: datasource=github-releases depName=actions/runner-container-hooks
default = "0.8.0"
}
variable "DOCKER_VERSION" {
default = "28.4.0"
}
variable "LICENSE" {
default = "AGPL-3.0-or-later"
}
variable "SOURCE" {
default = "https://github.com/actions/runner"
}
group "default" {
targets = ["image-local"]
}
target "image" {
inherits = ["docker-metadata-action"]
args = {
VERSION = "${VERSION}"
BUILDX_VERSION = "${BUILDX_VERSION}"
RUNNER_CONTAINER_HOOKS_VERSION = "${RUNNER_CONTAINER_HOOKS_VERSION}"
DOCKER_VERSION = "${DOCKER_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"
]
}