Deploying with GitHub Actions 2: Your Own Linux Server via SSH, Docker Images and GHCR
Build the image once in GitHub Actions, push it to GHCR and send only the digest to the server over SSH; the server pulls it with Docker Compose and restarts. metadata-action, build-push-action and the gha cache backend (28 s down to 4 s), actions/attest, pinning known_hosts and what happens when the host key changes, rollback with .env.previous; real runs with act.
8 Nov 2026
·
12 min
·
5