8
All checks were successful
Deploy Production / Deploy to Staging (push) Has been skipped

This commit is contained in:
Alex Shevchuk
2025-08-18 17:56:11 +03:00
parent 176cd406dd
commit 53fe811f06

View File

@@ -95,6 +95,8 @@ jobs:
fi fi
- name: Deploy to Swarm - name: Deploy to Swarm
env:
SWARM_MANAGER_HOST: https://dev-molva.ru:2377
run: | run: |
if [ "${{ inputs.version }}" == "latest" ]; then if [ "${{ inputs.version }}" == "latest" ]; then
VERSION="latest" VERSION="latest"
@@ -105,7 +107,7 @@ jobs:
echo "Deploying version $VERSION to ${{ inputs.environment }}..." echo "Deploying version $VERSION to ${{ inputs.environment }}..."
echo "Log level: ${{ inputs.logLevel }}" echo "Log level: ${{ inputs.logLevel }}"
docker -H ${{ secrets.SWARM_MANAGER_HOST }} \ docker -H $SWARM_MANAGER_HOST \
stack deploy \ stack deploy \
--with-registry-auth \ --with-registry-auth \
-c docker-compose.staging.yaml \ -c docker-compose.staging.yaml \