diff options
author | Galen Guyer <galen@galenguyer.com> | 2022-05-24 10:26:02 -0400 |
---|---|---|
committer | Galen Guyer <galen@galenguyer.com> | 2022-05-24 10:26:02 -0400 |
commit | b272a07e4c1dbdacc04ee54fe80ba9935353d1eb (patch) | |
tree | 6aa660425495c002c04c97b5a5bd4b608306d041 /docker-bake.hcl | |
parent | d21947a12b7fe6bf0a62b4c87b6d3c363d9585e1 (diff) |
add autoindex configs
Diffstat (limited to 'docker-bake.hcl')
-rw-r--r-- | docker-bake.hcl | 42 |
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", + ] +} |