Skip to content

Commit 3e532ba

Browse files
authored
Fixes syntax for setting REGISTRY_TOKEN (#73)
1 parent 7733a55 commit 3e532ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,13 @@ pull fallback in.
9696
For example [gcr](https://cloud.google.com/artifact-registry/docs/reference/docker-api):
9797

9898
```
99-
cat ./registry-service-credentials.json | base64 | wrangler --env production secrets put REGISTRY_TOKEN
99+
cat ./registry-service-credentials.json | base64 | npx wrangler secret put REGISTRY_TOKEN --env production
100100
```
101101

102102
[Github](https://github.com/settings/tokens) for example uses a simple token that you can copy.
103103

104104
```
105-
echo $GITHUB_TOKEN | wrangler --env production secrets put REGISTRY_TOKEN
105+
echo $GITHUB_TOKEN | npx wrangler secret put REGISTRY_TOKEN --env production
106106
```
107107

108108
The trick is always looking for how you would login in Docker for

0 commit comments

Comments
 (0)