Skip to content

Commit

Permalink
Disable provenance builds and specify platform explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
Mitch Alessio committed Jan 18, 2024
1 parent edd6176 commit 1374507
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1374507

Please sign in to comment.