depot CLI v2.87.0
We've rolled out a new version of the depot
CLI that simplifies auth for depot push
.
You can now use environment variables to authenticate with your registry when pushing images, without needing to run docker login
first.
This is particularly useful for environments that do not have docker installed or where you want to avoid storing credentials in Docker's config.
To use this feature, set the following environment variables before running depot push
:
export DEPOT_PUSH_REGISTRY_USERNAME=<your-username>
export DEPOT_PUSH_REGISTRY_PASSWORD=<your-password>
This allows you to authenticate directly with your registry using the depot push
command.