Skip to content

Commit 5eafea3

Browse files
Merge pull request #330 from depot/billy/docs/ephemeral-registry
docs: remove references to 'ephemeral' registry
2 parents 70410d5 + fc65896 commit 5eafea3

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ services:
166166
| `provenance` | Shorthand for "--set=\*.attest=type=provenance" |
167167
| `pull` | Always attempt to pull all referenced images |
168168
| `push` | Shorthand for "--set=\*.output=type=registry" |
169-
| `save` | Saves bake targets to the Depot ephemeral registry |
169+
| `save` | Saves bake targets to the Depot registry |
170170
| `sbom` | Shorthand for "--set=\*.attest=type=sbom" |
171171
| `set` | Override target value (e.g., "targetpattern.key=value") |
172172
| `token` | Depot API token |
@@ -234,7 +234,7 @@ depot build -t repo/image:tag . --push
234234
| `pull` | Always attempt to pull all referenced images |
235235
| `push` | Shorthand for "--output=type=registry" |
236236
| `quiet` | Suppress the build output and print image ID on success |
237-
| `save` | Saves build to the Depot ephemeral registry |
237+
| `save` | Saves build to the Depot registry |
238238
| `sbom` | Shorthand for "--attest=type=sbom" |
239239
| `secret` | Secret to expose to the build (format: "id=mysecret[,src=/local/secret]") |
240240
| `shm-size` | Size of "/dev/shm" |
@@ -398,13 +398,13 @@ depot logout
398398

399399
### `depot pull`
400400

401-
Pull an image from the Depot ephemeral registry to your local Docker daemon.
401+
Pull an image from the Depot registry to your local Docker daemon.
402402

403403
```shell
404404
depot pull --tag repo:tag <BUILD_ID>
405405
```
406406

407-
Pull all bake images from the Depot ephemeral registry to your local Docker daemon.
407+
Pull all bake images from the Depot registry to your local Docker daemon.
408408
By default images will be tagged with the bake target names.
409409

410410
```shell
@@ -413,7 +413,7 @@ depot pull <BUILD_ID>
413413

414414
### `depot push`
415415

416-
Push an image from the Depot ephemeral registry to a destination registry.
416+
Push an image from the Depot registry to a destination registry.
417417

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

pkg/cmd/pull/pull.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ func NewCmdPull() *cobra.Command {
3131

3232
cmd := &cobra.Command{
3333
Use: "pull [flags] [buildID]",
34-
Short: "Pull a project's build from the Depot ephemeral registry",
34+
Short: "Pull a project's build from the Depot registry",
3535
Args: cli.RequiresMaxArgs(1),
3636
RunE: func(cmd *cobra.Command, args []string) error {
3737
dockerCli, err := dockerclient.NewDockerCLI()
@@ -104,7 +104,7 @@ func NewCmdPull() *cobra.Command {
104104

105105
buildOptions := res.Msg.Options
106106
if len(buildOptions) > 0 && !isSavedBuild(buildOptions) {
107-
return fmt.Errorf("build %s is not a saved build. To use the ephemeral registry use --save when building", buildID)
107+
return fmt.Errorf("build %s is not a saved build. To use the registry use --save when building", buildID)
108108
}
109109

110110
if isBake(buildOptions) {

pkg/cmd/pulltoken/pulltoken.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ func NewCmdPullToken() *cobra.Command {
2020

2121
cmd := &cobra.Command{
2222
Use: "pull-token [flags] ([buildID])",
23-
Short: "Create a new pull token for the ephemeral registry",
23+
Short: "Create a new pull token for the registry",
2424
Args: cli.RequiresMaxArgs(1),
2525
RunE: func(cmd *cobra.Command, args []string) error {
2626
if len(args) > 0 {

pkg/cmd/push/manifests.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ type ImageDescriptors struct {
7070

7171
// GetImageDescriptors returns back all the descriptors for an image.
7272
func GetImageDescriptors(ctx context.Context, token, buildID, target string, logger StartLogDetailFunc) (*ImageDescriptors, error) {
73-
// Download location and credentials of ephemeral image save.
73+
// Download location and credentials of image save.
7474
client := depotapi.NewBuildClient()
7575
req := &cliv1.GetPullInfoRequest{BuildId: buildID}
7676
res, err := client.GetPullInfo(ctx, depotapi.WithAuthentication(connect.NewRequest(req), token))
@@ -192,7 +192,7 @@ func fetch(ctx context.Context, fetcher remotes.Fetcher, desc ocispecs.Descripto
192192
return io.ReadAll(r)
193193
}
194194

195-
// Authorizer is a static authorizer used to authenticate with the Depot ephemeral registry.
195+
// Authorizer is a static authorizer used to authenticate with the Depot registry.
196196
type Authorizer struct {
197197
Username string
198198
Password string

pkg/cmd/push/push.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
"golang.org/x/sync/errgroup"
2020
)
2121

22-
// NewCmdPush pushes a previously saved build to a registry from the Depot ephemeral registry.
22+
// NewCmdPush pushes a previously saved build to a registry from the Depot registry.
2323
func NewCmdPush() *cobra.Command {
2424
var (
2525
token string
@@ -32,7 +32,7 @@ func NewCmdPush() *cobra.Command {
3232

3333
cmd := &cobra.Command{
3434
Use: "push [flags] [buildID]",
35-
Short: "Push a project's build from the Depot ephemeral registry to a destination registry",
35+
Short: "Push a project's build from the Depot registry to a destination registry",
3636
Args: cli.RequiresMaxArgs(1),
3737
RunE: func(cmd *cobra.Command, args []string) error {
3838
dockerCli, err := dockerclient.NewDockerCLI()

0 commit comments

Comments
 (0)