1
0
mirror of https://github.com/aquasecurity/kube-bench.git synced 2024-11-22 16:18:07 +00:00

Adding support for new cpu architecture (ppc64le) (#1078)

* Update makefile

Support ppc64le (IBM Power) architecture

* Update .goreleaser.yml

Added support for ppc64le cpu arch

* Update publish.yml

Added support for ppc64le cpu arch

Co-authored-by: Yoav Rotem <yoavrotems97@gmail.com>
This commit is contained in:
manasiprabhavalkar 2022-01-29 06:48:28 -05:00 committed by GitHub
parent d232ae0fb9
commit c0349f0ca8
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 platforms: linux/amd64,linux/arm64,linux/ppc64le
builder: ${{ steps.buildx.outputs.name }} builder: ${{ steps.buildx.outputs.name }}
push: true push: true
build-args: | build-args: |

View File

@ -12,6 +12,7 @@ builds:
- amd64 - amd64
- arm - arm
- arm64 - arm64
- ppc64le
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 BUILDX_PLATFORM ?= linux/amd64,linux/arm64,linux/arm,linux/ppc64le
DOCKER_ORGS ?= aquasec public.ecr.aws/aquasecurity DOCKER_ORGS ?= aquasec public.ecr.aws/aquasecurity
GOARCH ?= $@ GOARCH ?= $@