The Heroku Container Registry only supports x86_64 architectures

Change effective on 07 November 2023

We updated the Heroku Container Registry to restrict the upload of images to those using the supported x86_64 architecture.

An error unsupported architecture occurs when uploading an image built for an unknown or unsupported architecture.

To ensure your image is built for Heroku correctly, pass the platform flag to the Docker build command: docker build --platform linux/amd64

For more information see the Container Registry & Runtime documentation.