mirror of
https://gitea.0xace.cc/rust/github-release-bot.git
synced 2024-11-25 05:46:40 +00:00
update README
This commit is contained in:
parent
8f01088045
commit
7936d88c57
10
README.md
10
README.md
@ -38,17 +38,17 @@ github-release-bot \
|
||||
- datadir - optional, dir for storing files with latest releases, default "data"
|
||||
|
||||
## Docker
|
||||
### Docker build
|
||||
```ShellSession
|
||||
make build
|
||||
```
|
||||
### Docker run
|
||||
```ShellSession
|
||||
docker run -d -v ./config.yaml:/opt/config.yaml -v ./data:/opt/data registry.0xace.cc/ghp/github-release-bot:latest \
|
||||
docker run -d -v ./config.yaml:/opt/config.yaml -v ./data:/opt/data registry.geekhome.org/ghp/github-release-bot:latest \
|
||||
-e TOKEN=${TOKEN} -e CHATID=${CHATID} \
|
||||
-e CONFIG=${CONFIG} -e DATADIR=${DATADIR} \
|
||||
-e INTERVAL=${INTERVAL} -e SPREAD=${SPREAD}
|
||||
```
|
||||
### Docker build
|
||||
```ShellSession
|
||||
make build
|
||||
```
|
||||
### Docker params
|
||||
OS ENV used to pass arguments:
|
||||
- TOKEN - required, Telegram token
|
||||
|
Loading…
Reference in New Issue
Block a user