Skip to content

Commit aae17cf

Browse files
committed
Use setup-docker-action output for socket
1 parent 56e4eff commit aae17cf

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,15 @@ jobs:
2424
java-version: ${{matrix.javaVersion}}
2525
distribution: temurin
2626
- name: Configure Docker
27+
id: setup_docker
2728
uses: docker/setup-docker-action@v4
2829
with:
2930
version: ${{matrix.dockerVersion}}
3031
channel: stable
3132
- name: Build with Maven
3233
env:
33-
DOCKER_HOST: ${{matrix.dockerHost}}
34-
run: |
35-
[[ -z "$DOCKER_HOST" ]] && unset DOCKER_HOST
36-
./mvnw --no-transfer-progress verify
34+
DOCKER_HOST: ${{steps.setup_docker.outputs.sock}}
35+
run: ./mvnw --no-transfer-progress verify
3736

3837
tcp:
3938
runs-on: ubuntu-20.04

0 commit comments

Comments
 (0)