aboutsummaryrefslogtreecommitdiff
path: root/docker-bake.hcl
diff options
context:
space:
mode:
Diffstat (limited to 'docker-bake.hcl')
-rw-r--r--docker-bake.hcl42
1 files changed, 41 insertions, 1 deletions
diff --git a/docker-bake.hcl b/docker-bake.hcl
index 4ca410d..3c318ae 100644
--- a/docker-bake.hcl
+++ b/docker-bake.hcl
@@ -8,7 +8,7 @@ group "default" {
targets = ["alpine"]
}
group "alpine" {
- targets = ["alpine-base", "alpine-spa"]
+ targets = ["alpine-base", "alpine-spa", "alpine-autoindex"]
}
group "alpine-base" {
targets = ["alpine-mainline", "alpine-stable"]
@@ -16,6 +16,9 @@ group "alpine-base" {
group "alpine-spa" {
targets = ["alpine-mainline-spa", "alpine-stable-spa"]
}
+group "alpine-autoindex" {
+ targets = ["alpine-mainline-autoindex", "alpine-stable-autoindex"]
+}
target "alpine-mainline" {
context = "alpine/base/"
@@ -90,3 +93,40 @@ target "alpine-stable-spa" {
"${REGISTRY}/nginx:${NGINX_STABLE}-alpine${ALPINE_VER}-spa",
]
}
+
+target "alpine-mainline-autoindex" {
+ context = "alpine/autoindex/"
+ args = {
+ ALPINE_VER="${ALPINE_VER}"
+ NGINX_VER="${NGINX_MAINLINE}"
+ CORE_COUNT="${CORE_COUNT}"
+ }
+ tags = [
+ "${REGISTRY}/nginx:autoindex",
+ "${REGISTRY}/nginx:alpine-autoindex",
+ "${REGISTRY}/nginx:alpine${ALPINE_VER}-autoindex",
+ "${REGISTRY}/nginx:mainline-autoindex",
+ "${REGISTRY}/nginx:mainline-alpine-autoindex",
+ "${REGISTRY}/nginx:mainline-alpine${ALPINE_VER}-autoindex",
+ "${REGISTRY}/nginx:${NGINX_MAINLINE}-autoindex",
+ "${REGISTRY}/nginx:${NGINX_MAINLINE}-alpine-autoindex",
+ "${REGISTRY}/nginx:${NGINX_MAINLINE}-alpine${ALPINE_VER}-autoindex",
+ ]
+}
+
+target "alpine-stable-autoindex" {
+ context = "alpine/autoindex/"
+ args = {
+ ALPINE_VER="${ALPINE_VER}"
+ NGINX_VER="${NGINX_STABLE}"
+ CORE_COUNT="${CORE_COUNT}"
+ }
+ tags = [
+ "${REGISTRY}/nginx:stable-autoindex",
+ "${REGISTRY}/nginx:stable-alpine-autoindex",
+ "${REGISTRY}/nginx:stable-alpine${ALPINE_VER}-autoindex",
+ "${REGISTRY}/nginx:${NGINX_STABLE}-autoindex",
+ "${REGISTRY}/nginx:${NGINX_STABLE}-alpine-autoindex",
+ "${REGISTRY}/nginx:${NGINX_STABLE}-alpine${ALPINE_VER}-autoindex",
+ ]
+}