Skip to content

Commit 47c927b

Browse files
committed
add docs
1 parent 211ad70 commit 47c927b

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

+17
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,20 @@ uv run silverback run main:app --network base:sepolia:alchemy --runner silverbac
4343
```
4444

4545
Note that you must have the [uv](https://github.com/astral-sh/uv) package manager installed in order to run this, otherwise you can install the `pyproject.toml` file using your preferred environment and package manager
46+
47+
## Publishing images
48+
49+
Images can be built and published to a registry using the following commands. Before publishing, ensure that you have a github token with the `read:packages` and `write:packages` scopes and can authenticate to the `ghcr.io` registry.
50+
51+
```bash
52+
# Make sure you are authenticated to the github registry
53+
docker login ghcr.io
54+
55+
# Build the image
56+
docker build . --platform linux/arm64 -t ghcr.io/synthetixio/keeper:0.1.0-test
57+
docker build . --platform linux/arm64 -t ghcr.io/synthetixio/keeper:latest
58+
59+
# Publish the image to a package on github
60+
docker build . --platform linux/arm64 -t ghcr.io/synthetixio/keeper:0.1.0-test
61+
docker build . --platform linux/arm64 -t ghcr.io/synthetixio/keeper:latest
62+
```

0 commit comments

Comments
 (0)