Workaround for Docker push error "405 Method Not Allowed" using BuildKit 0.11


Docker pushes from GitHub Actions using are failing due to a recent change in the underlying BuildKit 0.11 enabling "provenance" by default.


The workaround for this is to configure the failing GitHub Action step to use provenance: false , for example:

      - name: Build and push
        uses: docker/build-push-action@v3
          push: true
          provenance: false

This provenance setting applies to any customers using BuildKit 0.11, which we only know of coming from GitHub Actions at this time.

Ask on Stack Overflow

Engage with a community of passionate experts to get the answers you need

Ask on Stack Overflow

Heroku Support

Create a support ticket and our support experts will get back to you

Contact Heroku Support