Skip to content

Commit b760886

Browse files
authored
Update build-image-test.yaml
1 parent 525825c commit b760886

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/build-image-test.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,14 @@ jobs:
7070
if: matrix.os-type == 'darwin'
7171
uses: douglascamata/setup-docker-macos-action@v1.0.0
7272

73-
- name: Set DOCKER_HOST to point to Colima's socket
74-
if: matrix.os-type == 'darwin'
75-
run: |
76-
# Colima usually creates the socket at ~/.colima/default/docker.sock
77-
# The `colima env` command can give you the exact DOCKER_HOST value
78-
DOCKER_SOCKET_PATH=$(colima env --shell bash | grep DOCKER_HOST | cut -d'=' -f2 | tr -d '"')
79-
echo "DOCKER_HOST=$DOCKER_SOCKET_PATH" >> $GITHUB_ENV
80-
docker info # Verify Docker daemon is accessible
73+
- name: Set DOCKER_HOST to point to Colima's socket
74+
if: matrix.os-type == 'darwin'
75+
run: |
76+
# Colima usually creates the socket at ~/.colima/default/docker.sock
77+
# The `colima env` command can give you the exact DOCKER_HOST value
78+
DOCKER_SOCKET_PATH=$(colima env --shell bash | grep DOCKER_HOST | cut -d'=' -f2 | tr -d '"')
79+
echo "DOCKER_HOST=$DOCKER_SOCKET_PATH" >> $GITHUB_ENV
80+
docker info # Verify Docker daemon is accessible
8181
8282
- name: Set up Docker Buildx
8383
uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0

0 commit comments

Comments
 (0)