Skip to content

Commit c0d9c46

Browse files
Images: Drop s390x. (#12139)
Co-authored-by: Marco Ebert <[email protected]>
1 parent 6c2fb5e commit c0d9c46

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
@@ -189,7 +189,7 @@ jobs:
189189
if: |
190190
(github.event_name == 'push' && github.ref == 'refs/heads/main' && needs.changes.outputs.nginx == 'true')
191191
env:
192-
PLATFORMS: linux/amd64,linux/arm,linux/arm64,linux/s390x
192+
PLATFORMS: linux/amd64,linux/arm,linux/arm64
193193
steps:
194194
- name: Checkout
195195
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)