From f64465aee665ad42f9230a13ea3d9c3d17bd836d Mon Sep 17 00:00:00 2001 From: Modassar Rana Date: Mon, 15 Apr 2024 16:34:20 +0530 Subject: [PATCH 1/4] Update build.yml Signed-off-by: Modassar Rana --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eaa665c7..c7191590 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -78,6 +78,7 @@ jobs: # print env vars for debugging cat "$GITHUB_ENV" + echo "VERSION=$VERSION" - name: Build and push runtime image uses: docker/build-push-action@v4 From 841a2fb39562857dab6024b45429e16cb40f79e3 Mon Sep 17 00:00:00 2001 From: Modassar Rana Date: Mon, 15 Apr 2024 17:25:56 +0530 Subject: [PATCH 2/4] Update build.yml Added s390x architecture as build operation is successful. Signed-off-by: Modassar Rana --- .github/workflows/build.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c7191590..72dabf86 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -83,8 +83,7 @@ jobs: - name: Build and push runtime image uses: docker/build-push-action@v4 with: - # for linux/s390x, maven errors due to missing io.grpc:protoc-gen-grpc-java:exe:linux-s390_64:1.51.1 - platforms: linux/amd64,linux/arm64/v8,linux/ppc64le + platforms: linux/amd64,linux/arm64/v8,linux/ppc64le,linux/s390x target: runtime push: ${{ github.event_name == 'push' }} tags: ${{ env.IMAGE_NAME }}:${{ env.VERSION }} From f4cd44808a679e83879a75f21d6f34f345c0ca86 Mon Sep 17 00:00:00 2001 From: Modassar Rana Date: Mon, 15 Apr 2024 18:38:11 +0530 Subject: [PATCH 3/4] Update build.yml Removed echo Version ( was added for testing local) Signed-off-by: Modassar Rana --- .github/workflows/build.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 72dabf86..7e607a95 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -78,8 +78,7 @@ jobs: # print env vars for debugging cat "$GITHUB_ENV" - echo "VERSION=$VERSION" - + - name: Build and push runtime image uses: docker/build-push-action@v4 with: From db72466f844af680fe9a48c95139a23ac7b4d1af Mon Sep 17 00:00:00 2001 From: Modassar Rana Date: Mon, 15 Apr 2024 18:39:58 +0530 Subject: [PATCH 4/4] Update build.yml Removed unwanted space Signed-off-by: Modassar Rana --- .github/workflows/build.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7e607a95..c48e5dcb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -78,7 +78,6 @@ jobs: # print env vars for debugging cat "$GITHUB_ENV" - - name: Build and push runtime image uses: docker/build-push-action@v4 with: