feat: remove cloud build

parent 00abad46
Pipeline #24086 passed with stages
in 31 seconds
......@@ -16,28 +16,3 @@ build_image:
- docker push $CI_REGISTRY_IMAGE:$TAG
tags:
- docker
cloud_build:
image: google/cloud-sdk
stage: build
extends:
- .except-ci-release
- .set-env-and-tag
- .skip-artifacts
allow_failure: true
interruptible: true
script:
- echo $GCLOUD_AUTH | base64 -d > ./gcloud-auth.json
- export GOOGLE_APPLICATION_CREDENTIALS=$PWD/gcloud-auth.json
- gcloud auth activate-service-account ${SERVICE_ACCOUNT} --key-file ./gcloud-auth.json
- gcloud config set project bbk-${BBK_RUNTIME_ENVIRONMENT}
- |
cat << EOF > cloudbuild.yaml
steps:
- name: gcr.io/cloud-builders/docker
args: ['build', '-t', 'gcr.io/bbk-${BBK_RUNTIME_ENVIRONMENT}/${CI_PROJECT_NAMESPACE}-${CI_PROJECT_NAME}:${TAG}', '.']
timeout: 1800s
images: ['gcr.io/bbk-${BBK_RUNTIME_ENVIRONMENT}/${CI_PROJECT_NAMESPACE}-${CI_PROJECT_NAME}']
tags: ['${TAG}']
EOF
- gcloud builds submit --config cloudbuild.yaml
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment