-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildx.hcl
41 lines (34 loc) · 904 Bytes
/
buildx.hcl
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
group "default" {
targets = ["renovate", "renovate-slim"]
}
target "base" {
cache-to = ["type=local,dest=tmp/docker,mode=max"]
target = "base"
}
target "settings" {
platforms = ["linux/amd64"]
}
target "cache" {
cache-from = ["type=local,src=tmp/docker"]
cache-to = ["type=local,dest=tmp/docker,mode=max"]
}
target "renovate-slim" {
inherits = ["cache"]
tags = ["renovate/renovate:slim"]
target = "slim"
}
target "renovate" {
inherits = ["cache"]
tags = ["renovate/renovate"]
target = "full"
}
target "test" {
inherits = ["settings"]
target = "slim"
}
target "reg-test" {
inherits = ["settings"]
target = "slim"
cache-from = ["type=registry,ref=docker.pkg.github.com/viceice-tests/docker-buildx-tests/test:cache-slim"]
cache-to = ["type=registry,ref=docker.pkg.github.com/viceice-tests/docker-buildx-tests/test:cache-slim,mode=max"]
}