образ собирается по контракту роли app_image вместо пуша в реестр
- таск `deploy` (сборка + пуш в cr.yandex + вызов ansible) заменён на `image`: собирает node-образ, сайт и nginx-образ, тег из $BUILD_ID - деплой целиком переехал в `inv pl -- homepage` на стороне pet-project-server
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user