containers: Add utility to ensure gcloud helper is configured.

We need to use gcloud credentials to push to GCS container
registries.  These aren't necessarily configured by default on a
given host, so we need to ensure that the configuration is correct
before we push images.

BUG=b:209543161
TEST=manual build_api call.

Change-Id: I6fc1b1ae8c01452630e0b6e768519034283e506b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/dev-util/+/3321290
Tested-by: Sean McAllister <[email protected]>
Auto-Submit: Sean McAllister <[email protected]>
Reviewed-by: Jared Loucks <[email protected]>
Reviewed-by: Derek Beckett <[email protected]>
Commit-Queue: Sean McAllister <[email protected]>
1 file changed