setup gcp push
This commit is contained in:
parent
392653dc74
commit
fb77dc26f8
|
|
@ -7,12 +7,19 @@ definitions:
|
|||
pipelines:
|
||||
branches:
|
||||
feature/VRFS-5283:
|
||||
- step:
|
||||
name: Build Container Image
|
||||
script:
|
||||
- docker build .
|
||||
services:
|
||||
- docker
|
||||
# - step:
|
||||
# name: Build Container Image
|
||||
# script:
|
||||
# - docker build .
|
||||
# services:
|
||||
# - docker
|
||||
- step: push-gcp
|
||||
name: Push to GCP registry
|
||||
image: google/cloud-sdk:alpine
|
||||
script:
|
||||
- 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
|
||||
develop:
|
||||
- step:
|
||||
name: Build Staging
|
||||
|
|
|
|||
Loading…
Reference in New Issue