From ff2b743a947e4d581bc8cd6173d5f581aebb469a Mon Sep 17 00:00:00 2001 From: Jennifer Kirsch <7807969+DysphoricUnicorn@users.noreply.github.com> Date: Sun, 12 Sep 2021 19:08:06 +0200 Subject: [PATCH] Only build nginx-errors for linux/amd64 (#7625) * Fix wrong image location used in nginx-errors example config * Only build nginx-errors for linux/amd64 --- .../customization/custom-errors/custom-default-backend.yaml | 2 +- images/custom-error-pages/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/examples/customization/custom-errors/custom-default-backend.yaml b/docs/examples/customization/custom-errors/custom-default-backend.yaml index 4cf5e72e2..579e48544 100644 --- a/docs/examples/customization/custom-errors/custom-default-backend.yaml +++ b/docs/examples/customization/custom-errors/custom-default-backend.yaml @@ -36,7 +36,7 @@ spec: spec: containers: - name: nginx-error-server - image: gcr.io/k8s-staging-ingress-nginx/nginx-errors:0.48.1 + image: k8s.gcr.io/ingress-nginx/nginx-errors:0.48.1 ports: - containerPort: 8080 # Setting the environment variable DEBUG we can see the headers sent diff --git a/images/custom-error-pages/Makefile b/images/custom-error-pages/Makefile index fa210ef87..7564b813d 100644 --- a/images/custom-error-pages/Makefile +++ b/images/custom-error-pages/Makefile @@ -29,7 +29,7 @@ IMAGE = $(REGISTRY)/nginx-errors export DOCKER_CLI_EXPERIMENTAL=enabled # build with buildx -PLATFORMS?=linux/amd64,linux/arm,linux/arm64 +PLATFORMS?=linux/amd64 OUTPUT= PROGRESS=plain