From c53935091d9bc651ec38e7ab11eef3a06bbb688e Mon Sep 17 00:00:00 2001 From: Nathan Klick Date: Fri, 22 Mar 2024 19:28:46 -0500 Subject: [PATCH] fix: docker bind mount Signed-off-by: Nathan Klick --- .../support/scripts/generate-docker-artifact-baseline.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/support/scripts/generate-docker-artifact-baseline.sh b/.github/workflows/support/scripts/generate-docker-artifact-baseline.sh index 726eac8ccba4..41a5bfc3b1b0 100755 --- a/.github/workflows/support/scripts/generate-docker-artifact-baseline.sh +++ b/.github/workflows/support/scripts/generate-docker-artifact-baseline.sh @@ -118,10 +118,10 @@ start_group "Configuring Environment" start_task "Resolving the Docker Client Configuration" SKOPEO_BIND_MOUNT="" SKOPEO_CREDENTIAL_OPTS="" - DOCKER_CONFIG_FILE="${HOME}/.docker/config" + DOCKER_CONFIG_FILE="${HOME}/.docker" if [[ -f "${DOCKER_CONFIG_FILE}" ]]; then - SKOPEO_BIND_MOUNT="--volume ${DOCKER_CONFIG_FILE}:/etc/containers/auth.json" - SKOPEO_CREDENTIAL_OPTS="--authfile /etc/containers/auth.json" + SKOPEO_BIND_MOUNT="--volume ${DOCKER_CONFIG_FILE}:/tmp/docker" + SKOPEO_CREDENTIAL_OPTS="--authfile /tmp/docker/config.json" fi export SKOPEO_BIND_MOUNT SKOPEO_CREDENTIAL_OPTS end_task "DONE"