Skip to content

Commit daaa93f

Browse files
committed
bake: add "nginx" target for self-hosted documentation
1 parent 7340f5c commit daaa93f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docker-bake.hcl

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,16 @@ target "release" {
3535
provenance = false
3636
}
3737

38+
target "nginx" {
39+
args = {
40+
HUGO_ENV = "production"
41+
DOCS_URL = "/"
42+
}
43+
target = "nginx"
44+
provenance = false
45+
tags = ["docker/docs:latest"]
46+
}
47+
3848
group "validate" {
3949
targets = ["lint", "test", "unused-media", "test-go-redirects", "dockerfile-lint", "path-warnings"]
4050
}

0 commit comments

Comments
 (0)