refactor pipeline

This commit is contained in:
Victor Barba Martin 2021-11-15 17:55:04 +01:00
parent 39993170aa
commit d565266265
1 changed files with 2 additions and 2 deletions

View File

@ -54,8 +54,8 @@ pipelines:
- 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
- docker load --input "coturn-${BITBUCKET_REPO_SLUG}.tar"
- docker load --input "coturn-dns-${BITBUCKET_REPO_SLUG}.tar"
- docker load --input "coturn.tar"
- docker load --input "coturn-dns.tar"
- VERSION="latest" #VERSION="prod-0.1.${BITBUCKET_BUILD_NUMBER}"
- docker tag "coturn" "gcr.io/${GCLOUD_PROJECT}/coturn:${VERSION}"
- docker tag "coturn-dns" "gcr.io/${GCLOUD_PROJECT}/coturn-dns:${VERSION}"