From 3d305d3f0bff6ed4ebc65bd272cf0daef8a163e2 Mon Sep 17 00:00:00 2001 From: Dilip Gowda Bhagavan Date: Mon, 11 Sep 2023 12:55:14 +0530 Subject: [PATCH] updated release workflows Signed-off-by: Dilip Gowda Bhagavan --- .github/workflows/build.yml | 1 - .github/workflows/draft-release.yml | 2 +- .github/workflows/post-release.yml | 4 ++++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1b612ee92..ea9f41f6f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -190,7 +190,6 @@ jobs: - test-linux-amd64 - test-linux-arm64 - test-windows - - test-linux-s390x runs-on: ubuntu-latest permissions: id-token: write diff --git a/.github/workflows/draft-release.yml b/.github/workflows/draft-release.yml index 7406533c7..5b06faeb4 100644 --- a/.github/workflows/draft-release.yml +++ b/.github/workflows/draft-release.yml @@ -24,7 +24,7 @@ jobs: exit 1 fi echo "LIFECYCLE_VERSION=$version" >> $GITHUB_ENV - - name: Determine download urls for linux-x86-64, linux-arm64, and windows + - name: Determine download urls for linux-x86-64, linux-arm64, linux-s390x, and windows id: artifact-urls # FIXME: this script should be updated to work with actions/github-script@v6 uses: actions/github-script@v3 diff --git a/.github/workflows/post-release.yml b/.github/workflows/post-release.yml index 442f06a19..20136abf4 100644 --- a/.github/workflows/post-release.yml +++ b/.github/workflows/post-release.yml @@ -54,11 +54,13 @@ jobs: crane tag buildpacksio/lifecycle:${{ env.LIFECYCLE_IMAGE_TAG }}-linux-x86-64@${{ env.LINUX_AMD64_SHA }} ${{ env.LIFECYCLE_VERSION }}-linux-x86-64 crane tag buildpacksio/lifecycle:${{ env.LIFECYCLE_IMAGE_TAG }}-linux-arm64@${{ env.LINUX_ARM64_SHA }} ${{ env.LIFECYCLE_VERSION }}-linux-arm64 + crane tag buildpacksio/lifecycle:${{ env.LIFECYCLE_IMAGE_TAG }}-linux-s390x@${{ env.LINUX_S390X_SHA }} ${{ env.LIFECYCLE_VERSION }}-linux-s390x crane tag buildpacksio/lifecycle:${{ env.LIFECYCLE_IMAGE_TAG }}-windows@${{ env.WINDOWS_AMD64_SHA }} ${{ env.LIFECYCLE_VERSION }}-windows docker manifest create buildpacksio/lifecycle:${{ env.LIFECYCLE_VERSION }} \ buildpacksio/lifecycle:${{ env.LIFECYCLE_VERSION }}-linux-x86-64@${{ env.LINUX_AMD64_SHA }} \ buildpacksio/lifecycle:${{ env.LIFECYCLE_VERSION }}-linux-arm64@${{ env.LINUX_ARM64_SHA }} \ + buildpacksio/lifecycle:${{ env.LIFECYCLE_VERSION }}-linux-s390x@${{ env.LINUX_S390X_SHA }} \ buildpacksio/lifecycle:${{ env.LIFECYCLE_VERSION }}-windows@${{ env.WINDOWS_AMD64_SHA }} MANIFEST_SHA=$(docker manifest push buildpacksio/lifecycle:${{ env.LIFECYCLE_VERSION }}) @@ -89,11 +91,13 @@ jobs: crane tag buildpacksio/lifecycle:${{ env.LIFECYCLE_IMAGE_TAG }}-linux-x86-64@${{ env.LINUX_AMD64_SHA }} latest-linux-x86-64 crane tag buildpacksio/lifecycle:${{ env.LIFECYCLE_IMAGE_TAG }}-linux-arm64@${{ env.LINUX_ARM64_SHA }} latest-linux-arm64 + crane tag buildpacksio/lifecycle:${{ env.LIFECYCLE_IMAGE_TAG }}-linux-s390x@${{ env.LINUX_S390X_SHA }} latest-linux-s390x crane tag buildpacksio/lifecycle:${{ env.LIFECYCLE_IMAGE_TAG }}-windows@${{ env.WINDOWS_AMD64_SHA }} latest-windows docker manifest create buildpacksio/lifecycle:latest \ buildpacksio/lifecycle:latest-linux-x86-64@${{ env.LINUX_AMD64_SHA }} \ buildpacksio/lifecycle:latest-linux-arm64@${{ env.LINUX_ARM64_SHA }} \ + buildpacksio/lifecycle:latest-linux-s390x@${{ env.LINUX_S390X_SHA }} \ buildpacksio/lifecycle:latest-windows@${{ env.WINDOWS_AMD64_SHA }} MANIFEST_SHA=$(docker manifest push buildpacksio/lifecycle:latest)