Deploy: fix GHCR auth and compose warnings

- Pass RUNNER envs to remote SSH action so docker login ghcr.io works
- Remove obsolete `version` from docker-compose.prod.yml to avoid warnings
This commit is contained in:
Christbru 2025-10-18 21:08:20 -05:00
commit a32e0dd474
2 changed files with 2 additions and 2 deletions

View file

@ -78,6 +78,8 @@ jobs:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USERNAME }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
# pass selected env vars to the remote shell so docker login works
envs: RUNNER_GITHUB_TOKEN,RUNNER_GH_ACTOR
debug: true
script: |
cd /home/github-actions/codered-astra