From 137450769aef0eecc6672f2dbde8c7032eedeb28 Mon Sep 17 00:00:00 2001 From: Mitch Alessio Date: Thu, 18 Jan 2024 15:47:21 -0500 Subject: [PATCH] Disable provenance builds and specify platform explicitly --- .github/workflows/build-docker-images.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build-docker-images.yml b/.github/workflows/build-docker-images.yml index d13725e553..5a06e1ddc9 100644 --- a/.github/workflows/build-docker-images.yml +++ b/.github/workflows/build-docker-images.yml @@ -120,5 +120,11 @@ jobs: context: ${{ matrix.image.contextDir }} push: true tags: ${{ steps.setup_tags.outputs.image_tags }} + # AWS Lambda does not support multi-platform images, something that is enabled by default + # by this Action via the "provenance" flag. Until AWS Lambda supports this feature + # properly, we must explicitly disable provenance and specify the amd64 platform. + # See https://github.com/docker/buildx/issues/1533 + provenance: false + platforms: "linux/amd64" env: DOCKER_BUILDKIT: 1