chore: add Docker login and logout commands in deployment scripts
Build and Deploy Frontend / build-and-deploy (push) Successful in 8m38s

This commit is contained in:
2026-04-29 00:06:04 +02:00
parent 5af63d8e7d
commit 2080ba9020
+4
View File
@@ -43,10 +43,14 @@ jobs:
script: |
cd /home/matrix/ledmatrix-deployment
echo "$GHCR_PAT" | docker login ghcr.io -u starappeal --password-stdin
docker compose -f docker-compose.yml -f docker-compose.prod.yml pull frontend
docker compose -f docker-compose.yml -f docker-compose.prod.yml up -d frontend
docker image prune -f
docker logout ghcr.io
env:
GHCR_PAT: ${{ secrets.GHCR_PAT }}