Skip to content

Commit

Permalink
Images: Drop s390x.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gacko committed Oct 7, 2024
1 parent 95c43a3 commit 8bade9d
Show file tree
Hide file tree
Showing 14 changed files with 16 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ jobs:
if: |
(github.event_name == 'push' && github.ref == 'refs/heads/main' && needs.changes.outputs.nginx == 'true')
env:
PLATFORMS: linux/amd64,linux/arm,linux/arm64,linux/s390x
PLATFORMS: linux/amd64,linux/arm,linux/arm64
steps:
- name: Checkout
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,8 @@ ensure-buildx:
show-version:
echo -n $(TAG)

PLATFORMS ?= amd64 arm arm64 s390x
BUILDX_PLATFORMS ?= linux/amd64,linux/arm,linux/arm64,linux/s390x
PLATFORMS ?= amd64 arm arm64
BUILDX_PLATFORMS ?= linux/amd64,linux/arm,linux/arm64

.PHONY: release # Build a multi-arch docker image
release: ensure-buildx clean
Expand Down
5 changes: 2 additions & 3 deletions hack/init-buildx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,11 @@ fi
# We can skip setup if the current builder already has multi-arch
# AND if it isn't the docker driver, which doesn't work
current_builder="$(docker buildx inspect)"
# linux/amd64, linux/arm64, linux/riscv64, linux/ppc64le, linux/s390x, linux/386, linux/arm/v7, linux/arm/v6
# linux/amd64, linux/arm, linux/arm64
if ! grep -q "^Driver: docker$" <<<"${current_builder}" && \
grep -q "linux/amd64" <<<"${current_builder}" && \
grep -q "linux/arm" <<<"${current_builder}" && \
grep -q "linux/arm64" <<<"${current_builder}" && \
grep -q "linux/s390x" <<<"${current_builder}"; then
grep -q "linux/arm64" <<<"${current_builder}"; then
exit 0
fi

Expand Down
2 changes: 1 addition & 1 deletion images/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ EXTRAARGS ?= $(shell cat $(NAME)/EXTRAARGS)
export DOCKER_CLI_EXPERIMENTAL=enabled

# build with buildx
PLATFORMS?=linux/amd64,linux/arm,linux/arm64,linux/s390x
PLATFORMS?=linux/amd64,linux/arm,linux/arm64
OUTPUT=
PROGRESS=plain

Expand Down
2 changes: 1 addition & 1 deletion images/cfssl/TAG
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.0.1
v1.0.1-test
2 changes: 1 addition & 1 deletion images/custom-error-pages/TAG
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.0.2
v1.0.2-test
2 changes: 1 addition & 1 deletion images/e2e-test-echo/TAG
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.0.0
v1.0.0-test
2 changes: 1 addition & 1 deletion images/fastcgi-helloserver/TAG
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.0.2
v1.0.2-test
2 changes: 1 addition & 1 deletion images/httpbun/TAG
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.0.2
v1.0.2-test
2 changes: 1 addition & 1 deletion images/kube-webhook-certgen/TAG
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.4.4
v1.4.4-test
2 changes: 1 addition & 1 deletion images/nginx/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ IMAGE = $(REGISTRY)/nginx
export DOCKER_CLI_EXPERIMENTAL=enabled

# build with buildx
PLATFORMS?=linux/amd64,linux/arm,linux/arm64,linux/s390x
PLATFORMS?=linux/amd64,linux/arm,linux/arm64
OUTPUT=
PROGRESS=plain
build: ensure-buildx
Expand Down
2 changes: 1 addition & 1 deletion images/nginx/TAG
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.1.0
v0.1.0-test
2 changes: 1 addition & 1 deletion images/opentelemetry/TAG
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.0.0
v1.0.0-test
2 changes: 1 addition & 1 deletion images/test-runner/TAG
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.1.0
v1.1.0-test

0 comments on commit 8bade9d

Please sign in to comment.