From 5187f08903917ebb1f2cc6b31e5e8635a394456e Mon Sep 17 00:00:00 2001 From: Arjun Kondur Date: Fri, 15 Nov 2024 11:14:26 -0600 Subject: [PATCH] Build for amd64 as well for pipelines --- .../workflows/arm-AL2023-build-test-push-workflow-AL2023.yml | 2 +- .github/workflows/arm-AL2023-int-test-workflow.yml | 2 +- .github/workflows/arm-Ubuntu-build-test-push-workflow.yml | 2 +- .github/workflows/arm-Ubuntu-int-test-workflow.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/arm-AL2023-build-test-push-workflow-AL2023.yml b/.github/workflows/arm-AL2023-build-test-push-workflow-AL2023.yml index 4f9f27a6e..9ee728898 100644 --- a/.github/workflows/arm-AL2023-build-test-push-workflow-AL2023.yml +++ b/.github/workflows/arm-AL2023-build-test-push-workflow-AL2023.yml @@ -93,7 +93,7 @@ jobs: uses: aws-actions/amazon-ecr-login@v1 - name: Build and push Splunk Operator Image run: | - export PLATFORMS=linux/arm64 + export PLATFORMS=linux/arm64,linux/amd64 export BASE_IMAGE=public.ecr.aws/amazonlinux/amazonlinux export BASE_IMAGE_VERSION=2023 export IMG=${{ secrets.ECR_REPOSITORY }}/${{ env.SPLUNK_OPERATOR_IMAGE_NAME }}:$GITHUB_SHA diff --git a/.github/workflows/arm-AL2023-int-test-workflow.yml b/.github/workflows/arm-AL2023-int-test-workflow.yml index 4bb57bfb0..2f6668262 100644 --- a/.github/workflows/arm-AL2023-int-test-workflow.yml +++ b/.github/workflows/arm-AL2023-int-test-workflow.yml @@ -42,7 +42,7 @@ jobs: uses: aws-actions/amazon-ecr-login@v1 - name: Build and push Splunk Operator Image run: | - export PLATFORMS=linux/arm64 + export PLATFORMS=linux/arm64, linux/amd64 export BASE_IMAGE=public.ecr.aws/amazonlinux/amazonlinux export BASE_IMAGE_VERSION=2023 export IMG=${{ secrets.ECR_REPOSITORY }}/${{ env.SPLUNK_OPERATOR_IMAGE_NAME }}:$GITHUB_SHA diff --git a/.github/workflows/arm-Ubuntu-build-test-push-workflow.yml b/.github/workflows/arm-Ubuntu-build-test-push-workflow.yml index 64c8e0883..5ca8bf710 100644 --- a/.github/workflows/arm-Ubuntu-build-test-push-workflow.yml +++ b/.github/workflows/arm-Ubuntu-build-test-push-workflow.yml @@ -93,7 +93,7 @@ jobs: uses: aws-actions/amazon-ecr-login@v1 - name: Build and push Splunk Operator Image run: | - export PLATFORMS=linux/arm64 + export PLATFORMS=linux/arm64, linux/amd64 export BASE_IMAGE=ubuntu export BASE_IMAGE_VERSION=24.10 export IMG=${{ secrets.ECR_REPOSITORY }}/${{ env.SPLUNK_OPERATOR_IMAGE_NAME }}:$GITHUB_SHA diff --git a/.github/workflows/arm-Ubuntu-int-test-workflow.yml b/.github/workflows/arm-Ubuntu-int-test-workflow.yml index fcb2e0350..e91a5b495 100644 --- a/.github/workflows/arm-Ubuntu-int-test-workflow.yml +++ b/.github/workflows/arm-Ubuntu-int-test-workflow.yml @@ -42,7 +42,7 @@ jobs: uses: aws-actions/amazon-ecr-login@v1 - name: Build and push Splunk Operator Image run: | - export PLATFORMS=linux/arm64 + export PLATFORMS=linux/arm64, linux/amd64 export BASE_IMAGE=ubuntu export BASE_IMAGE_VERSION=24.10 export IMG=${{ secrets.ECR_REPOSITORY }}/${{ env.SPLUNK_OPERATOR_IMAGE_NAME }}:$GITHUB_SHA