chore: update CICD
All checks were successful
Build Worker Base and Application Images / check-base-changes (push) Successful in 8s
Build Worker Base and Application Images / build-base (push) Successful in 9m19s
Build Worker Base and Application Images / build-docker (push) Successful in 3m10s
Build Worker Base and Application Images / deploy-stack (push) Successful in 26s

This commit is contained in:
ziesorx 2025-09-24 22:35:24 +07:00
parent eda5368771
commit c94dfa10e7
3 changed files with 14 additions and 6 deletions

View file

@ -51,7 +51,7 @@ jobs:
registry: git.siwatsystem.com
username: ${{ github.actor }}
password: ${{ secrets.RUNNER_TOKEN }}
- name: Build and push base Docker image
uses: docker/build-push-action@v4
with:
@ -79,7 +79,7 @@ jobs:
registry: git.siwatsystem.com
username: ${{ github.actor }}
password: ${{ secrets.RUNNER_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
@ -109,4 +109,4 @@ jobs:
else
echo "Deploying staging stack..."
ssh -i ~/.ssh/id_rsa ${{ vars.DEPLOY_USER_CMS }}@${{ vars.DEPLOY_HOST_CMS }} "cd ~/cms-system-k8s && docker compose -f docker-compose.staging.yml pull && docker compose -f docker-compose.staging.yml up -d"
fi
fi