From c0349f0ca80527b646501cc62d455465869948f6 Mon Sep 17 00:00:00 2001 From: manasiprabhavalkar <61792275+manasiprabhavalkar@users.noreply.github.com> Date: Sat, 29 Jan 2022 06:48:28 -0500 Subject: [PATCH] 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 --- .github/workflows/publish.yml | 2 +- .goreleaser.yml | 1 + makefile | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 10abab8..b5c56dc 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -52,7 +52,7 @@ jobs: uses: docker/build-push-action@v2 with: context: . - platforms: linux/amd64,linux/arm64 + platforms: linux/amd64,linux/arm64,linux/ppc64le builder: ${{ steps.buildx.outputs.name }} push: true build-args: | diff --git a/.goreleaser.yml b/.goreleaser.yml index e60c5a8..21966f9 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -12,6 +12,7 @@ builds: - amd64 - arm - arm64 + - ppc64le goarm: - 6 - 7 diff --git a/makefile b/makefile index 5945e1a..d2f3c39 100644 --- a/makefile +++ b/makefile @@ -7,7 +7,7 @@ IMAGE_NAME ?= $(DOCKER_ORG)/$(BINARY):$(VERSION) GOOS ?= linux BUILD_OS := linux 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 GOARCH ?= $@