You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -266,6 +274,30 @@ Reset the cache of a specific project ID
266
274
depot cache reset --project 12345678910
267
275
```
268
276
277
+
### `depot exec`
278
+
279
+
Execute a command with an injected BuildKit connection. This command launches a remote machine in Depot's infrastructure, establishes a connection to it, and makes this connection available to the specified command through an environment variable.
280
+
281
+
**Example**
282
+
283
+
```shell
284
+
# Run a command with access to a remote BuildKit instance
285
+
depot exec --platform linux/amd64 docker build .
286
+
287
+
# Run a Dagger command using Depot's infrastructure
| `region` | Build data storage region (default: "us-east-1") |
425
+
| `cache-storage-policy`| Build cache to keep per architecture in GB (default: 50) |
426
+
| `token` | Depot API token |
427
+
428
+
#### `depot projects list`
429
+
430
+
List Depot projects. This command is functionally identical to `depot list projects` and provides an interactive listing of your Depot projects.
431
+
432
+
**Example**
433
+
434
+
```shell
435
+
depot projects list
436
+
```
437
+
369
438
### `depot init`
370
439
371
440
Initialize an existing Depot project in the current directory. The CLI will display an interactive list of your Depot projects for you to choose from, then write a `depot.json` file in the current directory with the contents `{"projectID": "xxxxxxxxxx"}`.
@@ -419,10 +488,41 @@ Push an image from the Depot registry to a destination registry.
419
488
depot push --tag repo:tag <BUILD_ID>
420
489
```
421
490
491
+
### `depot pull-token`
492
+
493
+
Create a new pull token for the Depot registry. This command outputs a token string that can be used to authenticate with the Depot registry to pull images, which is useful in CI/CD environments or when direct authentication isn't possible.
494
+
495
+
**Example**
496
+
497
+
```shell
498
+
# Create a pull token for a specific build
499
+
depot pull-token <BUILD_ID>
500
+
501
+
# Create a pull token for a specific project
502
+
depot pull-token --project <PROJECT_ID>
503
+
```
504
+
505
+
#### Flags for `pull-token`
506
+
507
+
| Name | Description |
508
+
| ---------- | ------------------ |
509
+
|`project`| Depot project ID |
510
+
|`token`| Depot API token |
511
+
512
+
### `depot version`
513
+
514
+
Display version information for the Depot CLI, including the version number, build date, and a link to the corresponding GitHub release.
515
+
516
+
**Example**
517
+
518
+
```shell
519
+
depot version
520
+
```
521
+
422
522
## Contributing
423
523
424
524
PR contributions are welcome! The CLI codebase is evolving rapidly, but we are happy to work with you on your contribution.
0 commit comments