diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index ee9d2a398..de4608a88 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -22,6 +22,7 @@ definitions: - echo $GCLOUD_API_KEYFILE | base64 -d > ./gcloud-api-key.json - gcloud auth activate-service-account --key-file gcloud-api-key.json - gcloud config set project $GCLOUD_PROJECT + - cat ./gcloud-api-key.json | docker login -u _json_key --password-stdin https://gcr.io # # Tag container & push # - export TAG=$(echo "$BITBUCKET_TAG" | sed -e "s/v//g") # - export SUFFIX=$([[ ! -z "$TAG" ]] && echo ":$TAG" || echo "")