We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2bc4dd commit 4df69beCopy full SHA for 4df69be
.github/workflows/build-image-test.yaml
@@ -75,11 +75,11 @@ jobs:
75
run: |
76
docker context ls
77
# Colima usually creates the socket at ~/.colima/default/docker.sock
78
- # The `colima env` command can give you the exact DOCKER_HOST value
79
- DOCKER_SOCKET_PATH=$(colima env --shell bash | grep DOCKER_HOST | cut -d'=' -f2 | tr -d '"')
+ DOCKER_SOCKET_PATH=$(docker context ls | awk '{print $3}' | grep colima)
80
echo "DOCKER_HOST=$DOCKER_SOCKET_PATH" >> $GITHUB_ENV
81
- docker info # Verify Docker daemon is accessible
+ docker
82
+ echo "DOCKER_HOST=$DOCKER_SOCKET_PATH"
83
84
- name: Set up Docker Buildx
85
uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0
0 commit comments