diff --git a/.github/workflows/on-demand-build-docker-image-deploy-preview.yml b/.github/workflows/on-demand-build-docker-image-deploy-preview.yml index 69c3e6a0b9..b0a0736a1f 100644 --- a/.github/workflows/on-demand-build-docker-image-deploy-preview.yml +++ b/.github/workflows/on-demand-build-docker-image-deploy-preview.yml @@ -193,11 +193,12 @@ jobs: echo "base_tag=$base_tag" >> $GITHUB_OUTPUT - name: Push to Docker Hub - uses: docker/build-push-action@v4 + uses: depot/build-push-action@v1 with: context: . pull: true push: true + platforms: linux/arm64,linux/amd64 cache-from: ${{ vars.DOCKER_HUB_ORGANIZATION }}/appsmith-${{ vars.EDITION }}:release tags: | ${{ vars.DOCKER_HUB_ORGANIZATION }}/appsmith-dp:${{ vars.EDITION }}-${{ github.event.client_payload.pull_request.number }}