This commit is contained in:
@@ -96,7 +96,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Deploy to Swarm
|
- name: Deploy to Swarm
|
||||||
env:
|
env:
|
||||||
SWARM_MANAGER_HOST: 158.160.144.159:2377
|
SWARM_MANAGER_HOST: 158.160.144.159:2376
|
||||||
run: |
|
run: |
|
||||||
if [ "${{ inputs.version }}" == "latest" ]; then
|
if [ "${{ inputs.version }}" == "latest" ]; then
|
||||||
VERSION="latest"
|
VERSION="latest"
|
||||||
@@ -108,6 +108,10 @@ jobs:
|
|||||||
echo "Log level: ${{ inputs.logLevel }}"
|
echo "Log level: ${{ inputs.logLevel }}"
|
||||||
|
|
||||||
docker -H $SWARM_MANAGER_HOST \
|
docker -H $SWARM_MANAGER_HOST \
|
||||||
|
--tlsverify \
|
||||||
|
--tlscacert ${{ secrets.SWARM_CA_PEM }} \
|
||||||
|
--tlscert ${{ secrets.SWARM_CERT_PEM }} \
|
||||||
|
--tlskey ${{ secrets.SWARM_KEY_PEM }} \
|
||||||
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