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: