From 6aee320142e75d8fa5e406ad136e924f15a3a1ea Mon Sep 17 00:00:00 2001 From: Yan Song Liu Date: Wed, 8 Nov 2023 22:22:09 +0800 Subject: [PATCH] Add pack cli support for IBM s390x --- .github/workflows/build.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d9634c277f..5185d34088 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -173,6 +173,9 @@ jobs: - name: macos-arm64 goarch: arm64 goos: darwin + - name: linux-s390x + goarch: s390x + goos: linux needs: test runs-on: ubuntu-latest steps: @@ -230,6 +233,12 @@ jobs: filename=pack-v${{ env.PACK_VERSION }}-linux-arm64.tgz tar -C pack-linux-arm64 -vzcf $filename pack shasum -a 256 $filename > $filename.sha256 + - name: Package artifacts - linux-s390x + run: | + chmod +x pack-linux-s390x/pack + 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 - macos-arm64 run: | chmod +x pack-macos-arm64/pack @@ -300,6 +309,12 @@ jobs: (curl -sSL "https://github.com/buildpacks/pack/releases/download/v${{ env.PACK_VERSION }}/pack-v${{ env.PACK_VERSION }}-linux-arm64.tgz" | sudo tar -C /usr/local/bin/ --no-same-owner -xzv pack) ``` + ##### S390X + + ```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) + ``` + #### MacOS ##### Intel