We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d425dc commit b117e95Copy full SHA for b117e95
1 file changed
docker-bake.hcl
@@ -0,0 +1,31 @@
1
+variable "REGISTRY" {
2
+ default = "docker.io/srcml"
3
+}
4
+
5
+variable "IMAGE" {
6
+ default = "namecollector"
7
8
9
+variable "TAG" {
10
+ default = "latest"
11
12
13
+group "default" {
14
+ targets = ["namecollector"]
15
16
17
+target "namecollector" {
18
+ context = "."
19
+ dockerfile = "Dockerfile"
20
+ platforms = ["linux/amd64", "linux/arm64"]
21
+ tags = [
22
+ "${REGISTRY}/${IMAGE}:${TAG}",
23
+ ]
24
25
26
+target "local" {
27
+ inherits = ["namecollector"]
28
+ platforms = ["linux/amd64"]
29
+ output = ["type=docker"]
30
+ tags = ["${IMAGE}:${TAG}"]
31
0 commit comments