From d579a39358e6c2487ecc6f21c39110fa89b7a3cf Mon Sep 17 00:00:00 2001 From: valen-mascarenhas14 Date: Fri, 1 Mar 2024 18:15:36 +0530 Subject: [PATCH] Add pack cli support for IBM ppc64le Signed-off-by: valen-mascarenhas14 --- .github/workflows/build.yml | 14 ++++++++++++++ .github/workflows/delivery-docker.yml | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 78d4c90755..831051c9c4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -176,6 +176,9 @@ jobs: - name: linux-s390x goarch: s390x goos: linux + - name: linux-ppc64le + goarch: ppc64le + goos: linux needs: test runs-on: ubuntu-latest steps: @@ -239,6 +242,12 @@ jobs: filename=pack-v${{ env.PACK_VERSION }}-linux-s390x.tgz tar -C pack-linux-s390x -vzcf $filename pack shasum -a 256 $filename > $filename.sha256 + - name: Package artifacts - linux-ppc64le + run: | + chmod +x pack-linux-ppc64le/pack + filename=pack-v${{ env.PACK_VERSION }}-linux-ppc64le.tgz + tar -C pack-linux-ppc64le -vzcf $filename pack + shasum -a 256 $filename > $filename.sha256 - name: Package artifacts - macos-arm64 run: | chmod +x pack-macos-arm64/pack @@ -314,6 +323,11 @@ jobs: ```bash (curl -sSL "https://github.com/buildpacks/pack/releases/download/v${{ env.PACK_VERSION }}/pack-v${{ env.PACK_VERSION }}-linux-s390x.tgz" | sudo tar -C /usr/local/bin/ --no-same-owner -xzv pack) ``` + ##### PPC64LE + + ```bash + (curl -sSL "https://github.com/buildpacks/pack/releases/download/v${{ env.PACK_VERSION }}/pack-v${{ env.PACK_VERSION }}-linux-ppc64le.tgz" | sudo tar -C /usr/local/bin/ --no-same-owner -xzv pack) + ``` #### MacOS diff --git a/.github/workflows/delivery-docker.yml b/.github/workflows/delivery-docker.yml index a44e2cad8a..eceb0feae6 100644 --- a/.github/workflows/delivery-docker.yml +++ b/.github/workflows/delivery-docker.yml @@ -65,7 +65,7 @@ jobs: run: | docker buildx build . \ --tag ${{ env.IMG_NAME }}:${{ steps.version.outputs.result }}${{ matrix.suffix }} \ - --platform linux/amd64,linux/arm64,linux/s390x \ + --platform linux/amd64,linux/arm64,linux/s390x,linux/ppc64le \ --build-arg pack_version=${{ steps.version.outputs.result }} \ --build-arg base_image=${{ matrix.base_image }} \ --provenance=false \