- Symptom
- Lambda create-function or update-function-code rejects an image that pulls and runs fine with docker rundocker buildx imagetools inspect shows an extra unknown/unknown platform entry next to linux/amd64
- Cause
- Since Buildx 0.10 a provenance attestation is attached by default, which turns even a single-platform push into an image index with an attestation manifest. Lambda only accepts single-architecture images, and Cloud Run had the same limit when the issue was filed.
- Fix
- Turn off default attestations for images that go to runtimes needing one plain manifest, and build for exactly one platform.
- Apply
docker buildx build --platform linux/amd64 --provenance=false --sbom=false -t "$IMAGE" --push . # docker/build-push-action: provenance: false- Affected
- Docker Buildx 0.10 and later (January 2023) and docker/build-push-action 3.3.0 and later; AWS Lambda container images as of October 2026
- Sources
Last verified 2026-10-15 · Confirmed by 0 builders