From 03b6ebb1e632cf3409d005e51025288046e25ae4 Mon Sep 17 00:00:00 2001 From: Erick Fejta Date: Thu, 9 Jan 2020 17:53:39 -0800 Subject: [PATCH] Always configure docker --- images/push.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/images/push.sh b/images/push.sh index f0818ab1d..9741d5db6 100755 --- a/images/push.sh +++ b/images/push.sh @@ -41,9 +41,10 @@ color-target() { # Bold cyan if [[ -n "${GOOGLE_APPLICATION_CREDENTIALS:-}" ]]; then echo "Detected GOOGLE_APPLICATION_CREDENTIALS, activating..." >&2 gcloud auth activate-service-account --key-file="${GOOGLE_APPLICATION_CREDENTIALS}" - gcloud auth configure-docker fi +gcloud auth configure-docker + # Build and push the current commit, failing on any uncommitted changes. new_version="v$(date -u '+%Y%m%d')-$(git describe --tags --always --dirty)" echo -e "version: $(color-version ${new_version})" >&2