This commit is contained in:
@@ -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 \
|
||||||
|
Reference in New Issue
Block a user