mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
dockerfile: enhanced to match netlify pipeline
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
21
docker-bake.hcl
Normal file
21
docker-bake.hcl
Normal file
@@ -0,0 +1,21 @@
|
||||
variable "JEKYLL_ENV" {
|
||||
default = "development"
|
||||
}
|
||||
|
||||
group "default" {
|
||||
targets = ["release"]
|
||||
}
|
||||
|
||||
target "release" {
|
||||
target = "release"
|
||||
args = {
|
||||
JEKYLL_ENV = JEKYLL_ENV
|
||||
}
|
||||
no-cache-filter = ["upstream-resources"]
|
||||
output = ["./_site"]
|
||||
}
|
||||
|
||||
target "vendor" {
|
||||
target = "vendor"
|
||||
output = ["."]
|
||||
}
|
||||
Reference in New Issue
Block a user