Skip to content

Commit

Permalink
Merge pull request #243 from sparkfabrik/fix/3233_create_dir_if_not_e…
Browse files Browse the repository at this point in the history
…xists

refs platform/#3233: add folder creation for /root/.docker if it not exists
  • Loading branch information
Monska85 authored Nov 5, 2024
2 parents 425c54d + a2ebd9a commit 777c4c7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/.gitlab-ci-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ variables:
if [ -f /tmp/.docker/config.custom.json ]; then
echo "Custom Docker configuration found, copying it to /root/.docker/config.json"
if [ ! -d /root/.docker ]; then
mkdir -p /root/.docker
fi
cp /tmp/.docker/config.custom.json /root/.docker/config.json
fi
Expand Down Expand Up @@ -128,6 +131,7 @@ variables:
section_end "gcloud"
fi
# Test Docker mirrors
section_start "test-docker-mirrors" "Test Docker mirrors"
echo "Test docker-mirror GitLab service"
if ! nc -w10 -zv docker-mirror 5000; then
Expand Down

0 comments on commit 777c4c7

Please sign in to comment.