образ собирается по контракту роли app_image вместо пуша в реестр

- таск `deploy` (сборка + пуш в cr.yandex + вызов ansible) заменён на `image`:
  собирает node-образ, сайт и nginx-образ, тег из $BUILD_ID
- деплой целиком переехал в `inv pl -- homepage` на стороне pet-project-server
This commit is contained in:
av
2026-07-25 14:36:03 +03:00
parent 96a3b72ff0
commit d75f0ab032
3 changed files with 17 additions and 12 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ All commands use [Taskfile](https://taskfile.dev/) and run through Docker:
- `task install` — install npm dependencies (inside Docker)
- `task dev` — start dev server at `http://localhost:4321`
- `task build-prod` — production build (outputs to `dist/`)
- `task deploy` — full deploy pipeline: build → Docker nginx image Ansible to server
- `task image` — build the production nginx image, tagged from `$BUILD_ID` (`dev` by default). This is the build contract for the `app_image` Ansible role; the full deploy is `inv pl -- homepage` in `pet-project-server`, which calls this task and ships the image via `docker save`/`load`
- `task npm -- <args>` — run arbitrary npm commands inside Docker
## Architecture