From 99bfb59ef0a9394876ac2bd1ed1821181f01926b Mon Sep 17 00:00:00 2001 From: Doci Mou <22457019+dmou@users.noreply.github.com> Date: Tue, 18 Feb 2025 16:38:26 -0500 Subject: [PATCH] cleanup comments and remove arm platform --- .github/workflows/ci-push-image.yml | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/.github/workflows/ci-push-image.yml b/.github/workflows/ci-push-image.yml index b29579339..bef2be5d0 100644 --- a/.github/workflows/ci-push-image.yml +++ b/.github/workflows/ci-push-image.yml @@ -30,9 +30,6 @@ jobs: id: login-ecr uses: aws-actions/amazon-ecr-login@v2 - #- name: Set up QEMU - # uses: docker/setup-qemu-action@v3 - - name: Cache Docker layers uses: actions/cache@v4 id: cache @@ -62,22 +59,6 @@ jobs: cache-from: type=local,src=/tmp/.buildx-cache cache-to: type=local,dest=/tmp/.buildx-cache-new outputs: type=image,push=true - # platforms: linux/amd64,linux/arm64 - - #- name: Docker Buildx (+ push) - # id: push-image-to-ecr - # run: | - # BRANCH=$(echo "${GITHUB_REF#refs/*/}" | sed 's/.*\///') - # # push with git sha and branch - # echo "Pushing to $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG" - # docker buildx build \ - # --cache-from "type=local,src=/tmp/.buildx-cache" \ - # --cache-to "type=local,dest=/tmp/.buildx-cache-new" \ - # --platform "linux/amd64,linux/arm64" \ - # --output "type=image,push=true" \ - # --tag $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG \ - # --tag $ECR_REGISTRY/$ECR_REPOSITORY:$BRANCH \ - # --file ./Dockerfile ./ - name: Reset cache id: reset-cache