mirror of
https://github.com/aquasecurity/kube-bench.git
synced 2024-11-22 08:08: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:
parent
d232ae0fb9
commit
c0349f0ca8
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
@ -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: |
|
||||||
|
@ -12,6 +12,7 @@ builds:
|
|||||||
- amd64
|
- amd64
|
||||||
- arm
|
- arm
|
||||||
- arm64
|
- arm64
|
||||||
|
- ppc64le
|
||||||
goarm:
|
goarm:
|
||||||
- 6
|
- 6
|
||||||
- 7
|
- 7
|
||||||
|
2
makefile
2
makefile
@ -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 ?= $@
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user