sincecutoff.com
← all changes

heroku container:push adds --no-cache

Introduced 2026-08-19 · score 0.95

HOW TO USE IT

When building and pushing a container image without the build cache, run `heroku container:push <process-type> --no-cache -a <app>`.

heroku container:push <process-type> --no-cache -a <app>

WHY THIS HELPS

Push a container image without using the build cache.

REQUIREMENTS AND LIMITATIONS

  • Version: v11.10.0
  • process-type (required): Process type to build and push, such as `web`.
  • --no-cache: Do not use cache when building the image.
  • -a, --app=<value> (required): Heroku app to run the command against.
  • Prerequisite: Use a Cedar-generation app with its stack set to `container`.
  • Prerequisite: Have a working Docker installation and be logged in to Heroku and the Container Registry (`heroku login`, `heroku container:login`).
  • Prerequisite: The app directory must contain a Dockerfile.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card