Add QEMU support to CI CDK workflow for cross-platform Docker builds (#28)

Mirrors the enable-qemu input from cd-cdk.yaml. Required when CDK
stacks use PythonFunction or other Docker-bundled constructs targeting
arm64 Lambda on x86 CI runners.
This commit is contained in:
Adam Moussa 2026-05-13 18:08:58 -04:00 • committed by GitHub
parent 58447f6d86
commit 7e03d635fb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,6 +23,10 @@ on:
description: "Run cdk synth"
type: boolean
default: true
enable-qemu:
description: "Enable QEMU for cross-platform Docker builds (arm64 on x86 runners)"
type: boolean
default: false
run-sam-validate:
description: "Run sam validate --lint (for Node.js SAM repos)"
type: boolean
@ -39,6 +43,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
if: ${{ inputs.enable-qemu }}
- uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node-version }}