mirror of
https://github.com/EDeev/vkrepost_to_tg.git
synced 2026-10-07 20:49:50 +03:00
Образы на git.deev.su вместо dcr.deev.su: реестр zot выведен из работы, копию из GHCR делает синхронизатор
This commit is contained in:
parent
688ce4fcf1
commit
0939585083
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/vkrepost_to_tg
|
||||
dcr.deev.su/edeev/vkrepost_to_tg
|
||||
tags: |
|
||||
type=semver,pattern={{version}}
|
||||
type=semver,pattern={{major}}.{{minor}}
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ cp .env.example .env # BOT_TOKEN and the VK app service key
|
|||
docker compose up -d
|
||||
```
|
||||
|
||||
Prebuilt image: `docker pull ghcr.io/edeev/vkrepost_to_tg` or `docker pull dcr.deev.su/edeev/vkrepost_to_tg`.
|
||||
Prebuilt image: `docker pull ghcr.io/edeev/vkrepost_to_tg` or `docker pull git.deev.su/edeev/vkrepost_to_tg`.
|
||||
PostgreSQL tables are created on first start. Data from the old version (SQLite `users.db` and `base.db`)
|
||||
is moved by `python scripts/migrate_sqlite.py --sqlite-dir path/to/db --dsn postgresql://…`.
|
||||
|
||||
|
|
@ -70,7 +70,7 @@ ruff check --select E9,F code tests && pytest
|
|||
|
||||
The tests cover post parsing (escaping, mentions, links, reposts, album limit) and sending (single photo,
|
||||
long text, audio). The Docker image is built on `v*` tags and published to GitHub Packages and
|
||||
`dcr.deev.su`.
|
||||
`git.deev.su`.
|
||||
|
||||
## License
|
||||
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ cp .env.example .env # BOT_TOKEN и сервисный ключ прило
|
|||
docker compose up -d
|
||||
```
|
||||
|
||||
Готовый образ: `docker pull ghcr.io/edeev/vkrepost_to_tg` или `docker pull dcr.deev.su/edeev/vkrepost_to_tg`.
|
||||
Готовый образ: `docker pull ghcr.io/edeev/vkrepost_to_tg` или `docker pull git.deev.su/edeev/vkrepost_to_tg`.
|
||||
Таблицы в PostgreSQL создаются при первом запуске. Данные старой версии (SQLite `users.db` и `base.db`)
|
||||
переносит `python scripts/migrate_sqlite.py --sqlite-dir путь/к/db --dsn postgresql://…`.
|
||||
|
||||
|
|
@ -71,7 +71,7 @@ ruff check --select E9,F code tests && pytest
|
|||
|
||||
Тесты проверяют разбор постов (экранирование, упоминания, ссылки, репосты, лимит альбома) и отправку
|
||||
(одиночное фото, длинный текст, аудио). Docker-образ собирается по тегу `v*` и публикуется в GitHub
|
||||
Packages и `dcr.deev.su`.
|
||||
Packages и `git.deev.su`.
|
||||
|
||||
## Лицензия
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue