forked from home-operations/containers
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-bake.hcl
More file actions
42 lines (35 loc) · 741 Bytes
/
docker-bake.hcl
File metadata and controls
42 lines (35 loc) · 741 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
target "docker-metadata-action" {}
variable "APP" {
default = "aws-signing-helper"
}
variable "VERSION" {
// renovate: datasource=github-releases depName=aws/rolesanywhere-credential-helper
default = "1.8.0"
}
variable "SOURCE" {
default = "https://github.com/aws/rolesanywhere-credential-helper"
}
group "default" {
targets = ["image-local"]
}
target "image" {
inherits = ["docker-metadata-action"]
args = {
VERSION = "${VERSION}"
}
labels = {
"org.opencontainers.image.source" = "${SOURCE}"
}
}
target "image-local" {
inherits = ["image"]
output = ["type=docker"]
tags = ["${APP}:${VERSION}"]
}
target "image-all" {
inherits = ["image"]
platforms = [
"linux/amd64",
"linux/arm64"
]
}