We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6611a56 commit 429170eCopy full SHA for 429170e
1 file changed
docker-bake.hcl
@@ -1,5 +1,9 @@
1
variable "TAG" {
2
- default = "0.0.1"
+ default = "latest"
3
+}
4
+
5
+variable "registry" {
6
+ default = "ghcr.io/nmdra"
7
}
8
9
group "default" {
@@ -10,8 +14,8 @@ target "dev" {
10
14
dockerfile = "Dockerfile.dev"
11
15
context = "."
12
16
tags = [
13
- "nimendra/fastapi-demo:dev",
- "nimendra/fastapi-demo:${TAG}-dev"
17
+ "${registry}/fastapi-demo:dev",
18
+ "${registry}/fastapi-demo:${TAG}-dev"
19
]
20
args = {
21
ENV = "development"
@@ -22,8 +26,8 @@ target "prod" {
22
26
dockerfile = "Dockerfile.prod"
23
27
24
28
25
- "nimendra/fastapi-demo:0.0.1",
- "nimendra/fastapi-demo:${TAG}"
29
+ "${registry}/fastapi-demo:latest",
30
+ "${registry}/fastapi-demo:${TAG}"
31
32
33
ENV = "production"
0 commit comments