Skip to content

Commit

Permalink
Merge pull request #254 from depot/docs/ephemeral-save
Browse files Browse the repository at this point in the history
docs: note ephemeral registry in the README
  • Loading branch information
goller authored Mar 4, 2024
2 parents afdd060 + 2ff0969 commit d7d892c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ depot bake -f docker-bake.hcl original
| `provenance` | Shorthand for "--set=\*.attest=type=provenance" |
| `pull` | Always attempt to pull all referenced images |
| `push` | Shorthand for "--set=\*.output=type=registry" |
| `save` | Saves bake targets to the Depot ephemeral registry |
| `sbom` | Shorthand for "--set=\*.attest=type=sbom" |
| `set` | Override target value (e.g., "targetpattern.key=value") |
| `token` | Depot API token |
Expand Down Expand Up @@ -194,6 +195,7 @@ depot build -t repo/image:tag . --push
| `pull` | Always attempt to pull all referenced images |
| `push` | Shorthand for "--output=type=registry" |
| `quiet` | Suppress the build output and print image ID on success |
| `save` | Saves build to the Depot ephemeral registry |
| `sbom` | Shorthand for "--attest=type=sbom" |
| `secret` | Secret to expose to the build (format: "id=mysecret[,src=/local/secret]") |
| `shm-size` | Size of "/dev/shm" |
Expand Down Expand Up @@ -318,6 +320,22 @@ Remove any saved login defails from your local machine.
depot logout
```

### `depot pull`

Pull an image from the Depot ephemeral registry to your local Docker daemon.

```shell
depot pull --tag repo:tag <BUILD_ID>
```

### `depot push`

Push an image from the Depot ephemeral registry to a destination registry.

```shell
depot push --tag repo:tag <BUILD_ID>
```

## Contributing

PR contributions are welcome! The CLI codebase is evolving rapidly, but we are happy to work with you on your contribution.
Expand Down

0 comments on commit d7d892c

Please sign in to comment.