setup gcp push
This commit is contained in:
parent
d6a302bd5e
commit
e6646200e2
|
|
@ -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 "")
|
||||
|
|
|
|||
Loading…
Reference in New Issue