Skip to content

Commit

Permalink
Update docker image name in README.md and k8s (#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremija committed Jan 31, 2022
1 parent 3eb2ee8 commit 73cf5ce
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,17 @@ kubectl apply -k github.com/peer-calls/peer-calls

## Using Docker

Use the [`https://ghcr.io/peer-calls/peer-calls`][hub] image from Docker Hub:
The automated builds on Docker Hub now require a subscription, and approval is
required even for open source projects. We recently switched to using GitHub
Container Registry instead:

Use the [`ghcr.io/peer-calls/peer-calls`][ghcr] image:

```bash
docker run --rm -it -p 3000:3000 ghcr.io/peer-calls/peer-calls:latest
```

[hub]: https://ghcr.io/peer-calls/peer-calls
[ghcr]: https://ghcr.io/peer-calls/peer-calls

## Building from Source

Expand Down
2 changes: 1 addition & 1 deletion deploy/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
name: peercalls-config
containers:
- name: peercalls
image: peercalls/peercalls
image: ghcr.io/peer-calls/peer-calls
imagePullPolicy: IfNotPresent
command: ["peer-calls", "-c", "/etc/peercalls/config.yaml"]
ports:
Expand Down
4 changes: 2 additions & 2 deletions scripts/lint-env-variables.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ diff \
exit_code=$?

if [[ $exit_code -ne 0 ]]; then
echo "Documented environment variables in README.md and thos defined in"
echo "configread.go do not match. Please fix the issue!"
echo "Documented environment variables in README.md and those defined in"
echo "server/configread.go do not match. Please fix the issue!"
fi

exit $exit_code

0 comments on commit 73cf5ce

Please sign in to comment.