Deploy through the runner's Docker socket instead of SSH
CI/CD / test (push) Successful in 22s
CI/CD / publish (push) Failing after 18s
CI/CD / deploy (push) Skipped

The runner lives on the deployment server, so the deploy job runs
docker compose locally with a temporary registry login.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-26 11:37:45 +03:30
co-authored by Claude Sonnet 5.5
parent 85f562984b
commit c1141ad3af
2 changed files with 26 additions and 43 deletions
+2 -2
View File
@@ -1,9 +1,9 @@
# Server deployment: runs the prebuilt image from the Gitea registry behind Nginx Proxy Manager.
# NPM terminates HTTPS and forwards to http://vending-machine-game:80 on the frontend_proxy network.
# IMAGE is set in .env next to this file (CI writes it on every deploy).
# IMAGE is the full registry reference, set by the CI deploy job.
services:
game:
image: ${IMAGE:?set IMAGE in .env}
image: ${IMAGE:?set IMAGE}
container_name: vending-machine-game
restart: unless-stopped
environment: