fix(ci): run trivy via SSH on web (docker not in Gitea runner) #2

Merged
striker merged 1 commits from fix/trivy-via-ssh into main 2026-05-21 15:31:53 +03:00
Owner

Workflow #156 упал с docker: command not found — Gitea Actions runner для этого проекта не содержит docker CLI. Перенёс build + trivy scan в ту же SSH-сессию что и deploy, как сделано в anotherreflections-website-v2 (там это работает).

Workflow #156 упал с `docker: command not found` — Gitea Actions runner для этого проекта не содержит docker CLI. Перенёс build + trivy scan в ту же SSH-сессию что и deploy, как сделано в anotherreflections-website-v2 (там это работает).
striker added 1 commit 2026-05-21 14:59:00 +03:00
Original workflow ran 'docker build + docker run trivy' inside the
Gitea Actions runner — but that container has no docker CLI ('docker:
command not found'). Move both build and scan into the same SSH
session as deploy, where docker is available natively. Mirrors how
anotherreflections-website-v2 does it (single SSH session with
build → scan → up -d → health → prune).
striker merged commit d2bd3647d4 into main 2026-05-21 15:31:53 +03:00
striker deleted branch fix/trivy-via-ssh 2026-05-21 15:31:53 +03:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: striker/pushkinohistory-ru-v2#2