Skip to content

Commit

Permalink
Fixes syntax for setting REGISTRY_TOKEN (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
vpetersson authored Nov 12, 2024
1 parent 7733a55 commit 3e532ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,13 @@ pull fallback in.
For example [gcr](https://cloud.google.com/artifact-registry/docs/reference/docker-api):

```
cat ./registry-service-credentials.json | base64 | wrangler --env production secrets put REGISTRY_TOKEN
cat ./registry-service-credentials.json | base64 | npx wrangler secret put REGISTRY_TOKEN --env production
```

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

```
echo $GITHUB_TOKEN | wrangler --env production secrets put REGISTRY_TOKEN
echo $GITHUB_TOKEN | npx wrangler secret put REGISTRY_TOKEN --env production
```

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

0 comments on commit 3e532ba

Please sign in to comment.