Skip to content

Fix missing --project in pull-token help text#442

Merged
PedroGuerraPT merged 1 commit intodepot:mainfrom
maschwenk:maschwenk/fix-pull-token-project
Mar 10, 2026
Merged

Fix missing --project in pull-token help text#442
PedroGuerraPT merged 1 commit intodepot:mainfrom
maschwenk:maschwenk/fix-pull-token-project

Conversation

@maschwenk
Copy link
Contributor

@maschwenk maschwenk commented Mar 7, 2026

Summary

  • Adds the --project flag to the depot pull-token command in the printSaveHelp output

Context

After running depot build --save, the CLI prints help text suggesting:

docker login registry.depot.dev -u x-token -p $(depot pull-token)

This is missing --project, so the command fails. Fixed to:

docker login registry.depot.dev -u x-token -p $(depot pull-token --project <project-id>)

The project variable is already available in the printSaveHelp function.

The save help text was showing `depot pull-token` without the required
--project flag, making the suggested command fail.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@maschwenk maschwenk marked this pull request as ready for review March 7, 2026 17:26
@PedroGuerraPT PedroGuerraPT merged commit 599da25 into depot:main Mar 10, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants