I am building an image for lambda
and pushing it to ECR.
I am using GitHub actions and docker/build-push-action.
I am specifying both the platform and the provenance: false
- name: build and push the image
uses: docker/build-push-action@v5
with:
provenance: false
platform: linux/arm64
push: true
tags: something
I am able to select the image to be deployed and arm64
as platform.
However the lambda
fails with
exec format error Runtime.InvalidEntrypoint
What am I missing?