1
0
mirror of https://github.com/aquasecurity/kube-bench.git synced 2024-11-25 17:38:21 +00:00

chore: add s390x arch (#1097)

Signed-off-by: skuethe <56306041+skuethe@users.noreply.github.com>

Co-authored-by: Huang Huang <mozillazg101@gmail.com>
This commit is contained in:
skuethe 2022-02-23 08:07:51 +01:00 committed by GitHub
parent 67f8b338d5
commit db385c7d09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -52,7 +52,7 @@ jobs:
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
with: with:
context: . context: .
platforms: linux/amd64,linux/arm64,linux/ppc64le platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/s390x
builder: ${{ steps.buildx.outputs.name }} builder: ${{ steps.buildx.outputs.name }}
push: true push: true
build-args: | build-args: |

View File

@ -13,6 +13,7 @@ builds:
- arm - arm
- arm64 - arm64
- ppc64le - ppc64le
- s390x
goarm: goarm:
- 6 - 6
- 7 - 7

View File

@ -7,7 +7,7 @@ IMAGE_NAME ?= $(DOCKER_ORG)/$(BINARY):$(VERSION)
GOOS ?= linux GOOS ?= linux
BUILD_OS := linux BUILD_OS := linux
uname := $(shell uname -s) uname := $(shell uname -s)
BUILDX_PLATFORM ?= linux/amd64,linux/arm64,linux/arm,linux/ppc64le BUILDX_PLATFORM ?= linux/amd64,linux/arm64,linux/arm,linux/ppc64le,linux/s390x
DOCKER_ORGS ?= aquasec public.ecr.aws/aquasecurity DOCKER_ORGS ?= aquasec public.ecr.aws/aquasecurity
GOARCH ?= $@ GOARCH ?= $@