Skip to content

Commit

Permalink
Pull docker build images
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Nov 9, 2024
1 parent a408c4e commit 27e4ead
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkg/providers/firecracker/cloud_init.go
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,13 @@ chmod a+w /usr/local/bin
# bypass docker hub rate limits
docker login -u tigerworks -p %s
for IMAGE_NAME in tonistiigi/binfmt:latest moby/buildkit:buildx-stable-1; do
until docker pull "$IMAGE_NAME"; do
echo "Docker pull failed, retrying..."
sleep 5 # Wait for 5 seconds before retrying
done
done
# Prepare GitHun Runner user
export USER=runner
# https://docs.docker.com/engine/install/linux-postinstall/
Expand Down

0 comments on commit 27e4ead

Please sign in to comment.