fix image

This commit is contained in:
Andrey Kondratev
2025-08-29 15:41:07 +05:00
parent 4dfd11e3fb
commit 890e0f9e5e
2 changed files with 6 additions and 10 deletions

View File

@@ -106,16 +106,12 @@ jobs:
port: ${{ secrets.PORT }}
envs: GITHUB_TOKEN,GITHUB_ACTOR
script: |
set -e # Exit on any error
set -x # Print commands being executed
cd /opt/quixotic
git pull origin main
# Login to GitHub Container Registry
echo $GITHUB_TOKEN | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
# Deploy using production compose
docker-compose -f docker-compose.yml -f docker-compose.prod.yml pull
docker-compose -f docker-compose.yml -f docker-compose.prod.yml down --remove-orphans
docker-compose -f docker-compose.yml -f docker-compose.prod.yml down --remove-orphans || true
docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d
# Cleanup old images
docker image prune -f
docker image prune -f || true
docker-compose -f docker-compose.yml -f docker-compose.prod.yml ps

View File

@@ -1,5 +1,5 @@
services:
quixotic-app:
image: ghcr.io/andrewkozin/quixotic:latest
image: ghcr.io/cockroach-eater/quixotic:latest
environment:
NODE_ENV: production