Skip to content

Commit 60f985e

Browse files
committed
update docs
1 parent 7481116 commit 60f985e

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
github_actions_exporter
22
*.env
3+
*.tar.gz
34

45
# Binaries for programs and plugins
56
*.exe

.promu.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
go:
2-
# Whenever the Go version is updated here,
3-
# .circle/config.yml should also be updated.
42
version: 1.15
53
repository:
64
path: github.com/cpanato/github_actions_exporter
@@ -14,3 +12,9 @@ build:
1412
tarball:
1513
files:
1614
- LICENSE
15+
crossbuild:
16+
platforms:
17+
- linux/amd64
18+
- darwin/amd64
19+
- windows/amd64
20+
- linux/arm64

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,17 @@ make build
4242
./github_actions_exporter --gh.github-webhook-token=MY_TOKEN
4343
```
4444

45+
## Docker
46+
47+
You can deploy this exporter using the [ghcr.io/cpanato/github_actions_exporter-linux-amd64](https://github.com/users/cpanato/packages/container/package/github_actions_exporter-linux-amd64) Docker image.
48+
49+
For example:
50+
51+
```bash
52+
docker pull ghcr.io/cpanato/github_actions_exporter-linux-amd64:v0.1.0
53+
docker run -d -p 9101:9101 ghcr.io/cpanato/github_actions_exporter-linux-amd64:v0.1.0 --gh.github-webhook-token="1234567890token"
54+
```
55+
4556
## Testing
4657

4758
### Running unit tests

0 commit comments

Comments
 (0)