This is an automated email from the ASF dual-hosted git repository.
moonming pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-docker.git
The following commit(s) were added to refs/heads/master by this push:
new c991f25 chore: prepare Docker images for APISIX 3.21.0 (#639)
c991f25 is described below
commit c991f259e58914fc0876360bdb1942f8099146cf
Author: Ming Wen <[email protected]>
AuthorDate: Fri Nov 20 10:20:58 2026 +0800
chore: prepare Docker images for APISIX 3.21.0 (#639)
* chore: prepare Docker images for APISIX 3.21.0
* fix(ci): use an approved Buildx action for release images
---
.github/workflows/apisix-docker-example-test-standalone.yaml | 2 +-
.github/workflows/apisix-docker-example-test.yaml | 2 +-
.github/workflows/apisix_push_docker_hub.yaml | 4 ++--
Makefile | 4 ++--
all-in-one/apisix-dashboard/Dockerfile | 2 +-
debian/Dockerfile | 2 +-
docs/en/latest/build.md | 10 ++++------
example/docker-compose-arm64.yml | 2 +-
example/docker-compose-standalone.yml | 2 +-
example/docker-compose.yml | 2 +-
redhat/Dockerfile | 2 +-
ubuntu/Dockerfile | 2 +-
12 files changed, 17 insertions(+), 19 deletions(-)
diff --git a/.github/workflows/apisix-docker-example-test-standalone.yaml
b/.github/workflows/apisix-docker-example-test-standalone.yaml
index 7d9c864..6850730 100644
--- a/.github/workflows/apisix-docker-example-test-standalone.yaml
+++ b/.github/workflows/apisix-docker-example-test-standalone.yaml
@@ -14,7 +14,7 @@ on:
- 'release/apisix-2.15.**'
env:
- APISIX_VERSION: "3.20.0"
+ APISIX_VERSION: "3.21.0"
jobs:
prepare:
diff --git a/.github/workflows/apisix-docker-example-test.yaml
b/.github/workflows/apisix-docker-example-test.yaml
index 697fc98..0316000 100644
--- a/.github/workflows/apisix-docker-example-test.yaml
+++ b/.github/workflows/apisix-docker-example-test.yaml
@@ -14,7 +14,7 @@ on:
- 'release/apisix-2.15.**'
env:
- APISIX_VERSION: "3.20.0"
+ APISIX_VERSION: "3.21.0"
jobs:
prepare:
diff --git a/.github/workflows/apisix_push_docker_hub.yaml
b/.github/workflows/apisix_push_docker_hub.yaml
index b20b653..e29fae3 100644
--- a/.github/workflows/apisix_push_docker_hub.yaml
+++ b/.github/workflows/apisix_push_docker_hub.yaml
@@ -19,7 +19,7 @@ jobs:
- debian
- redhat
env:
- APISIX_DOCKER_TAG: 3.20.0-${{ matrix.platform }}
+ APISIX_DOCKER_TAG: 3.21.0-${{ matrix.platform }}
steps:
- name: Check out the repo
@@ -62,7 +62,7 @@ jobs:
uses: docker/setup-qemu-action@96fe6ef7f33517b61c61be40b68a1882f3264fb8
- name: Set up Docker Buildx
- uses:
docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c
+ uses:
docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069
- name: Login to Docker Hub
if: ${{ startsWith(github.ref_name, 'release/apisix') }}
diff --git a/Makefile b/Makefile
index f7fc0f3..85f29f9 100644
--- a/Makefile
+++ b/Makefile
@@ -21,8 +21,8 @@ SHELL := bash
# APISIX ARGS
-APISIX_VERSION ?= 3.20.0
-MAX_APISIX_VERSION ?= 3.20.0
+APISIX_VERSION ?= 3.21.0
+MAX_APISIX_VERSION ?= 3.21.0
IMAGE_NAME = apache/apisix
IMAGE_TAR_NAME = apache_apisix
APISIX_REPO = https://github.com/apache/apisix
diff --git a/all-in-one/apisix-dashboard/Dockerfile
b/all-in-one/apisix-dashboard/Dockerfile
index 80c0382..cfa9ea2 100644
--- a/all-in-one/apisix-dashboard/Dockerfile
+++ b/all-in-one/apisix-dashboard/Dockerfile
@@ -17,7 +17,7 @@
ARG ENABLE_PROXY=false
ARG ETCD_VERSION=v3.4.14
-ARG APISIX_VERSION=3.20.0
+ARG APISIX_VERSION=3.21.0
ARG APISIX_DASHBOARD_VERSION=master
# Build Apache APISIX (using official package with apisix-nginx-module)
diff --git a/debian/Dockerfile b/debian/Dockerfile
index e732eed..3cabdf5 100644
--- a/debian/Dockerfile
+++ b/debian/Dockerfile
@@ -17,7 +17,7 @@
FROM debian:bookworm-slim
-ARG APISIX_VERSION=3.20.0
+ARG APISIX_VERSION=3.21.0
RUN set -ex; \
arch=$(dpkg --print-architecture); \
diff --git a/docs/en/latest/build.md b/docs/en/latest/build.md
index 7a9f7f0..469add7 100644
--- a/docs/en/latest/build.md
+++ b/docs/en/latest/build.md
@@ -38,16 +38,14 @@ Choose one of the following approaches to build a Docker
image based on your req
### Build an image from a release
-Find an APISIX [release version](https://github.com/apache/apisix/releases) to
build an image of.
-
-Build a Docker image from the release:
+The release Dockerfiles in this checkout install APISIX 3.21.0. Build the
Debian image with the following command.
```shell
-APISIX_VERSION=3.20.0 # specify release version
-DISTRO=debian # debian, redhat
-make build-on-$DISTRO
+make build-on-debian
```
+Use `make build-on-ubuntu` or `make build-on-redhat` for the other
distributions.
+
### Build an image from master branch
This is provided for developer's convenience.
diff --git a/example/docker-compose-arm64.yml b/example/docker-compose-arm64.yml
index 75c7192..b6a6f33 100644
--- a/example/docker-compose-arm64.yml
+++ b/example/docker-compose-arm64.yml
@@ -19,7 +19,7 @@ version: "3"
services:
apisix:
- image: apache/apisix:3.20.0-debian
+ image: apache/apisix:3.21.0-debian
restart: always
volumes:
- ./apisix_conf/config.yaml:/usr/local/apisix/conf/config.yaml:ro
diff --git a/example/docker-compose-standalone.yml
b/example/docker-compose-standalone.yml
index 0267c20..5b6224b 100644
--- a/example/docker-compose-standalone.yml
+++ b/example/docker-compose-standalone.yml
@@ -19,7 +19,7 @@ version: "3"
services:
apisix:
- image: apache/apisix:${APISIX_IMAGE_TAG:-3.20.0-debian}
+ image: apache/apisix:${APISIX_IMAGE_TAG:-3.21.0-debian}
restart: always
volumes:
-
./apisix_conf/apisix-standalone.yaml:/usr/local/apisix/conf/apisix.yaml:ro
diff --git a/example/docker-compose.yml b/example/docker-compose.yml
index 090e4db..3c039ab 100644
--- a/example/docker-compose.yml
+++ b/example/docker-compose.yml
@@ -19,7 +19,7 @@ version: "3"
services:
apisix:
- image: apache/apisix:${APISIX_IMAGE_TAG:-3.20.0-debian}
+ image: apache/apisix:${APISIX_IMAGE_TAG:-3.21.0-debian}
restart: always
volumes:
- ./apisix_conf/config.yaml:/usr/local/apisix/conf/config.yaml:ro
diff --git a/redhat/Dockerfile b/redhat/Dockerfile
index c916ca3..8a26c54 100644
--- a/redhat/Dockerfile
+++ b/redhat/Dockerfile
@@ -17,7 +17,7 @@
FROM registry.access.redhat.com/ubi9/ubi:9.6
-ARG APISIX_VERSION=3.20.0
+ARG APISIX_VERSION=3.21.0
LABEL apisix_version="${APISIX_VERSION}"
COPY ./yum.repos.d/apache-apisix.repo /etc/yum.repos.d/apache-apisix.repo
COPY ./yum.repos.d/openresty.repo /etc/yum.repos.d/openresty.repo
diff --git a/ubuntu/Dockerfile b/ubuntu/Dockerfile
index 4b799b1..3d91244 100644
--- a/ubuntu/Dockerfile
+++ b/ubuntu/Dockerfile
@@ -17,7 +17,7 @@
FROM ubuntu:24.04
-ARG APISIX_VERSION=3.20.0
+ARG APISIX_VERSION=3.21.0
RUN set -ex; \
arch=$(dpkg --print-architecture); \