Skip to content

Commit

Permalink
See if we can workaround Docker deprecation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mig5 authored and zenmonkeykstop committed Jun 28, 2024
1 parent c54041b commit b2cb72f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions devops/gce-nested/ci-go.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ set -o pipefail

export BASE_OS="${BASE_OS:-focal}"

# Temporary workaround for old gcloud-sdk image
sudo mkdir -p /etc/systemd/system/docker.service.d
echo -e "[Service]\nEnvironment=\"DOCKER_ENABLE_DEPRECATED_PULL_SCHEMA_1_IMAGE=true\"" | sudo tee -a /etc/systemd/system/docker.service.d/env.conf
sudo systemctl daemon-reload
sudo systemctl restart docker

./devops/gce-nested/gce-start.sh
./devops/gce-nested/gce-runner.sh
./devops/gce-nested/gce-stop.sh

0 comments on commit b2cb72f

Please sign in to comment.