Skip to content

Commit 4d06805

Browse files
committed
registry flag implies push
1 parent 3b4d70c commit 4d06805

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

docs/snippets/cli-commands-deploy.mdx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,11 @@ These options are typically used when [self-hosting](/open-source-self-hosting)
9696
</ParamField>
9797

9898
<ParamField body="Registry" type="--registry">
99-
Specify the registry to push the image to when using `--self-hosted`.
99+
Specify the registry to push the image to when using `--self-hosted`. Will automatically enable `--push`.
100100
</ParamField>
101101

102102
<ParamField body="Push image" type="--push">
103-
When using the --self-hosted flag, push the image to the registry.
103+
When using the `--self-hosted` flag, push the image to the registry.
104104
</ParamField>
105105

106106
<ParamField body="Namespace" type="--namepsace">
@@ -122,7 +122,6 @@ An example of deploying to Docker Hub when using a self-hosted setup:
122122
npx trigger.dev@latest deploy \
123123
--self-hosted \
124124
--load-image \
125-
--push \
126125
--registry docker.io \
127126
--namespace mydockerhubusername
128127
```

docs/upgrading-beta.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,6 @@ You can now specify a custom registry and namespace when deploying via a self-ho
412412
npx trigger.dev@latest deploy \
413413
--self-hosted \
414414
--load-image \
415-
--push \
416415
--registry docker.io \
417416
--namespace mydockerhubusername
418417
```

0 commit comments

Comments
 (0)