Skip to content

Commit fdfc97a

Browse files
authored
Images: Drop s390x. (#12131)
1 parent deb01b9 commit fdfc97a

File tree

5 files changed

+7
-8
lines changed

5 files changed

+7
-8
lines changed

.github/workflows/images.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ jobs:
169169
if: |
170170
(github.event_name == 'push' && github.ref == 'refs/heads/main' && needs.changes.outputs.nginx == 'true')
171171
env:
172-
PLATFORMS: linux/amd64,linux/arm,linux/arm64,linux/s390x
172+
PLATFORMS: linux/amd64,linux/arm,linux/arm64
173173
steps:
174174
- name: Checkout
175175
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,8 @@ ensure-buildx:
240240
show-version:
241241
echo -n $(TAG)
242242

243-
PLATFORMS ?= amd64 arm arm64 s390x
244-
BUILDX_PLATFORMS ?= linux/amd64,linux/arm,linux/arm64,linux/s390x
243+
PLATFORMS ?= amd64 arm arm64
244+
BUILDX_PLATFORMS ?= linux/amd64,linux/arm,linux/arm64
245245

246246
.PHONY: release # Build a multi-arch docker image
247247
release: ensure-buildx clean

hack/init-buildx.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,11 @@ fi
4242
# We can skip setup if the current builder already has multi-arch
4343
# AND if it isn't the docker driver, which doesn't work
4444
current_builder="$(docker buildx inspect)"
45-
# linux/amd64, linux/arm64, linux/riscv64, linux/ppc64le, linux/s390x, linux/386, linux/arm/v7, linux/arm/v6
45+
# linux/amd64, linux/arm, linux/arm64
4646
if ! grep -q "^Driver: docker$" <<<"${current_builder}" && \
4747
grep -q "linux/amd64" <<<"${current_builder}" && \
4848
grep -q "linux/arm" <<<"${current_builder}" && \
49-
grep -q "linux/arm64" <<<"${current_builder}" && \
50-
grep -q "linux/s390x" <<<"${current_builder}"; then
49+
grep -q "linux/arm64" <<<"${current_builder}"; then
5150
exit 0
5251
fi
5352

images/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ EXTRAARGS ?= $(shell cat $(NAME)/EXTRAARGS)
4141
export DOCKER_CLI_EXPERIMENTAL=enabled
4242

4343
# build with buildx
44-
PLATFORMS?=linux/amd64,linux/arm,linux/arm64,linux/s390x
44+
PLATFORMS?=linux/amd64,linux/arm,linux/arm64
4545
OUTPUT=
4646
PROGRESS=plain
4747

images/nginx/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ IMAGE = $(REGISTRY)/nginx
3232
export DOCKER_CLI_EXPERIMENTAL=enabled
3333

3434
# build with buildx
35-
PLATFORMS?=linux/amd64,linux/arm,linux/arm64,linux/s390x
35+
PLATFORMS?=linux/amd64,linux/arm,linux/arm64
3636
OUTPUT=
3737
PROGRESS=plain
3838
build: ensure-buildx

0 commit comments

Comments
 (0)