setup gcp push

This commit is contained in:
Victor Barba 2022-03-22 16:05:18 +01:00
parent f8faae13c6
commit d6a302bd5e
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ definitions:
name: Push to GCP registry
image: google/cloud-sdk:alpine
script:
- docker load --input ./tmp-image.docker
#- docker load --input ./tmp-image.docker
# Authenticating with the service account key file
- echo $GCLOUD_API_KEYFILE | base64 -d > ./gcloud-api-key.json
- gcloud auth activate-service-account --key-file gcloud-api-key.json