From 8554a733ded4fa24572311e39896ebf3820a04b0 Mon Sep 17 00:00:00 2001 From: Dylan Date: Thu, 5 Dec 2024 19:31:21 +0000 Subject: [PATCH] More ARM fixes --- .github/workflows/deploy.yml | 3 +++ serverless.yml | 1 + 2 files changed, 4 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 93dc50f..695ac90 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -41,6 +41,9 @@ jobs: - name: Install serverless-plugin-include-dependencies run: serverless plugin install -n serverless-plugin-include-dependencies + - name: Install QEMU for ARM builds + run: docker run --privileged --rm tonistiigi/binfmt --install all + - name: Set up Python uses: actions/setup-python@v4 with: diff --git a/serverless.yml b/serverless.yml index 39682a2..9ef561b 100644 --- a/serverless.yml +++ b/serverless.yml @@ -59,6 +59,7 @@ custom: pythonRequirements: layer: true dockerizePip: true + dockerRunCmdExtraArgs: ['--platform','linux/arm64'] resources: Resources: