Skip to content

Commit 7e678c1

Browse files
committed
troubleshooting DOCKER_CONFIG variable
1 parent 116bcf5 commit 7e678c1

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/build-image.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,7 @@ jobs:
137137
docker run --rm \
138138
-v "$GITHUB_WORKSPACE:/workspace" \
139139
-w /workspace \
140-
-v "$DOCKER_CONFIG:/root/.docker:ro" \
141-
-e DOCKER_CONFIG=/root/.docker \
140+
-v "${HOME}/.docker:/tmp/.docker:ro" \
142141
ghcr.io/l3montree-dev/devguard/scanner:main \
143142
crane push "${IMAGE_DESTINATION_PATH}" "$(cat image-tag.txt)"
144143
env:

0 commit comments

Comments
 (0)