-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathbake.hcl
40 lines (33 loc) · 1.17 KB
/
bake.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
# This file contains the targets for the test images.
#
# Build all test/push images:
# docker buildx bake -f bake.hcl [test | push] --progressive plain [--load | --push]
#
# Build all test images:
# docker buildx bake -f bake.hcl test --progressive plain --load
#
# Build all push images:
# docker buildx bake -f bake.hcl push --progressive plain --push
#------------------------------------- test -----------------------------------
group "test" {
targets=["aerospike_tools_amd64", "aerospike_tools_arm64"]
}
target "aerospike_tools_amd64" {
tags=["aerospike/aerospike-tools-amd64:11.1.1", "aerospike/aerospike-tools-amd64:latest"]
platforms=["linux/amd64"]
context="."
}
target "aerospike_tools_arm64" {
tags=["aerospike/aerospike-tools-arm64:11.1.1", "aerospike/aerospike-tools-arm64:latest"]
platforms=["linux/arm64"]
context="."
}
#------------------------------------ push -----------------------------------
group "push" {
targets=["aerospike_tools"]
}
target "aerospike_tools" {
tags=["aerospike/aerospike-tools:11.1.1", "aerospike/aerospike-tools:11.1.1_1", "aerospike/aerospike-tools:latest"]
platforms=["linux/amd64,linux/arm64"]
context="."
}