mirror of
https://github.com/EDeev/alertbot.git
synced 2026-10-07 20:49:56 +03:00
Образы на git.deev.su вместо dcr.deev.su: реестр zot выведен из работы, копию из GHCR делает синхронизатор
This commit is contained in:
parent
6296fe9123
commit
95e8a31d31
3 changed files with 4 additions and 10 deletions
6
.github/workflows/docker.yml
vendored
6
.github/workflows/docker.yml
vendored
|
|
@ -19,17 +19,11 @@ jobs:
|
|||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: docker/login-action@v3
|
||||
with:
|
||||
registry: dcr.deev.su
|
||||
username: ${{ secrets.ZOT_USERNAME }}
|
||||
password: ${{ secrets.ZOT_PASSWORD }}
|
||||
- id: meta
|
||||
uses: docker/metadata-action@v5
|
||||
with:
|
||||
images: |
|
||||
ghcr.io/edeev/alertbot
|
||||
dcr.deev.su/edeev/alertbot
|
||||
tags: |
|
||||
type=semver,pattern={{version}}
|
||||
type=semver,pattern={{major}}.{{minor}}
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ cp .env.example .env # bot token, IDs, Prometheus/Alertmanager URLs and tok
|
|||
docker compose up -d
|
||||
```
|
||||
|
||||
Prebuilt image: `docker pull ghcr.io/edeev/alertbot` or `docker pull dcr.deev.su/edeev/alertbot`.
|
||||
Prebuilt image: `docker pull ghcr.io/edeev/alertbot` or `docker pull git.deev.su/edeev/alertbot`.
|
||||
|
||||
## Installing without Docker
|
||||
|
||||
|
|
@ -81,7 +81,7 @@ python bot.py
|
|||
|
||||
The bot runs on a separate VPS as a systemd unit. Prometheus and Alertmanager live on another server
|
||||
behind nginx, which lets the bot in only with a token. GitHub Actions builds the Docker image on every
|
||||
`v*` tag and publishes it to GitHub Packages and to `dcr.deev.su`.
|
||||
`v*` tag and publishes it to GitHub Packages and to `git.deev.su`.
|
||||
|
||||
## Development
|
||||
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ cp .env.example .env # токен бота, ID, адреса и токен
|
|||
docker compose up -d
|
||||
```
|
||||
|
||||
Готовый образ: `docker pull ghcr.io/edeev/alertbot` или `docker pull dcr.deev.su/edeev/alertbot`.
|
||||
Готовый образ: `docker pull ghcr.io/edeev/alertbot` или `docker pull git.deev.su/edeev/alertbot`.
|
||||
|
||||
## Установка без Docker
|
||||
|
||||
|
|
@ -81,7 +81,7 @@ python bot.py
|
|||
|
||||
Бот работает на отдельном VPS как systemd-юнит. Prometheus и Alertmanager стоят на другом сервере
|
||||
за nginx, который пускает бота только с токеном. Docker-образ собирает GitHub Actions на каждый тег
|
||||
`v*` и публикует в GitHub Packages и в реестр `dcr.deev.su`.
|
||||
`v*` и публикует в GitHub Packages и в реестр `git.deev.su`.
|
||||
|
||||
## Разработка
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue