Setup gcloud authentication for Docker on Ubuntu
@@ -236,9 +236,11 @@ EOF
set -euo pipefail
-export PATH=$PATH:/snap/bin
+export PATH=$PATH:/usr/lib/google-cloud-sdk/bin:/snap/bin:/snap/google-cloud-sdk/current/bin
export BUILDKITE_ARTIFACT_UPLOAD_DESTINATION="gs://bazel-buildkite-artifacts/$BUILDKITE_JOB_ID"
export BUILDKITE_GS_ACL="publicRead"
+
+gcloud auth configure-docker --quiet
EOF
# The trusted worker machine may only execute certain whitelisted builds.
