1
0
Fork 0
mirror of https://github.com/EDeev/chatping_abobot.git synced 2026-10-07 20:49:45 +03:00

Образы на git.deev.su вместо dcr.deev.su: реестр zot выведен из работы, копию из GHCR делает синхронизатор

This commit is contained in:
Деев Егор Викторович 2026-10-06 17:03:57 +03:00
parent af372fbdf0
commit 737b3b57af
3 changed files with 4 additions and 10 deletions

View file

@ -19,17 +19,11 @@ jobs:
registry: ghcr.io registry: ghcr.io
username: ${{ github.actor }} username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/login-action@v3
with:
registry: dcr.deev.su
username: ${{ secrets.ZOT_USERNAME }}
password: ${{ secrets.ZOT_PASSWORD }}
- id: meta - id: meta
uses: docker/metadata-action@v5 uses: docker/metadata-action@v5
with: with:
images: | images: |
ghcr.io/edeev/chatping_abobot ghcr.io/edeev/chatping_abobot
dcr.deev.su/edeev/chatping_abobot
tags: | tags: |
type=semver,pattern={{version}} type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}}.{{minor}}

View file

@ -59,7 +59,7 @@ cp .env.example .env # BOT_TOKEN from @BotFather
docker compose up -d # the bot and PostgreSQL docker compose up -d # the bot and PostgreSQL
``` ```
Prebuilt image: `docker pull ghcr.io/edeev/chatping_abobot` or `docker pull dcr.deev.su/edeev/chatping_abobot`. Prebuilt image: `docker pull ghcr.io/edeev/chatping_abobot` or `docker pull git.deev.su/edeev/chatping_abobot`.
Tables are created on first start (`code/schema.sql`). Tables are created on first start (`code/schema.sql`).
Without Docker you need: Without Docker you need:
@ -113,7 +113,7 @@ The tests need PostgreSQL (`TEST_DATABASE_URL`). What they cover:
CI runs them on Python 3.10 and 3.12. CI runs them on Python 3.10 and 3.12.
The Docker image is built on `v*` tags and published to GitHub Packages and `dcr.deev.su`. The Docker image is built on `v*` tags and published to GitHub Packages and `git.deev.su`.
## License ## License

View file

@ -56,7 +56,7 @@ cp .env.example .env # BOT_TOKEN от @BotFather
docker compose up -d # бот и PostgreSQL docker compose up -d # бот и PostgreSQL
``` ```
Готовый образ: `docker pull ghcr.io/edeev/chatping_abobot` или `docker pull dcr.deev.su/edeev/chatping_abobot`. Готовый образ: `docker pull ghcr.io/edeev/chatping_abobot` или `docker pull git.deev.su/edeev/chatping_abobot`.
Таблицы создаются при первом запуске (`code/schema.sql`). Таблицы создаются при первом запуске (`code/schema.sql`).
Без Docker нужны: Без Docker нужны:
@ -110,7 +110,7 @@ ruff check --select E9,F,B code tests && pytest
CI прогоняет их на Python 3.10 и 3.12. CI прогоняет их на Python 3.10 и 3.12.
Docker-образ собирается по тегу `v*` и публикуется в GitHub Packages и `dcr.deev.su`. Docker-образ собирается по тегу `v*` и публикуется в GitHub Packages и `git.deev.su`.
## Лицензия ## Лицензия