Skip to content

Commit b3daaf9

Browse files
committed
Add init swarm step
1 parent 341503b commit b3daaf9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ jobs:
2727
uses: docker/setup-docker-action@v4
2828
with:
2929
channel: stable
30+
- name: Init swarm
31+
env:
32+
DOCKER_HOST: ${{steps.setup_docker.outputs.tcp}}
33+
run: docker swarm init
3034
- name: Build with Maven
3135
env:
3236
DOCKER_HOST: ${{steps.setup_docker.outputs.sock}}
@@ -67,6 +71,10 @@ jobs:
6771
with:
6872
channel: stable
6973
tcp-port: 2375
74+
- name: Init swarm
75+
env:
76+
DOCKER_HOST: ${{steps.setup_docker.outputs.tcp}}
77+
run: docker swarm init
7078
- name: Build with Maven
7179
env:
7280
DOCKER_HOST: ${{steps.setup_docker.outputs.tcp}}

0 commit comments

Comments
 (0)