fix(ci): update docker-compose.prod.yml on server before deploy
All checks were successful
CI/CD Pipeline / Code Quality Checks (push) Successful in 1m54s
CI/CD Pipeline / Run Tests (push) Successful in 2m5s
CI/CD Pipeline / Build Docker Images (push) Successful in 2s
CI/CD Pipeline / Push to Gitea Registry (push) Successful in 15s
CI/CD Pipeline / Deploy to Server (push) Successful in 1s
All checks were successful
CI/CD Pipeline / Code Quality Checks (push) Successful in 1m54s
CI/CD Pipeline / Run Tests (push) Successful in 2m5s
CI/CD Pipeline / Build Docker Images (push) Successful in 2s
CI/CD Pipeline / Push to Gitea Registry (push) Successful in 15s
CI/CD Pipeline / Deploy to Server (push) Successful in 1s
This commit is contained in:
@@ -189,6 +189,9 @@ jobs:
|
||||
ssh -i ~/.ssh/deploy_key -o StrictHostKeyChecking=no ${DEPLOY_USER}@${DEPLOY_HOST} "
|
||||
cd /opt/mostovik-backend
|
||||
|
||||
# Update docker-compose.prod.yml from repo
|
||||
curl -s -o docker-compose.prod.yml 'http://10.10.0.10:3000/avm/mostovik-backend/raw/branch/${BRANCH_TAG}/docker-compose.prod.yml'
|
||||
|
||||
# Login to registry (HTTP on internal IP)
|
||||
echo '${REGISTRY_PASSWORD}' | docker login --username '${REGISTRY_USER}' --password-stdin 10.10.0.10:3000
|
||||
|
||||
|
||||
Reference in New Issue
Block a user