Skip to content

Commit 39c751a

Browse files
committed
fix: dock dind hack download url
1 parent 6f10cdf commit 39c751a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎image/Dockerfile‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,9 @@ RUN --mount=type=secret,id=github_token,required=false --mount=type=bind,source=
182182
echo 'act:100000:65536' | tee -a /etc/subgid
183183
else
184184
docker_version=$(docker --version | cut -d ' ' -f3 | cut -d ',' -f1)
185-
curl "https://raw.githubusercontent.com/moby/moby/v${docker_version}/hack/dind" -o /usr/local/bin/dind-hack
185+
dind_hack_url="https://raw.githubusercontent.com/moby/moby/v${docker_version}/hack/dind"
186+
echo "Downloading [$dind_hack_url]..."
187+
curl "$dind_hack_url" -o /usr/local/bin/dind-hack
186188
chmod +x /usr/local/bin/dind-hack
187189
usermod -aG docker act
188190
fi

0 commit comments

Comments
 (0)