fix pulling secrets in cloudbuild release for latest builds
# see: https://cloud.google.com/container-builder/docs/configuring-builds/substitute-variable-values#using_default_substitutions
steps:
# Grab secret credentials from gcp bucket
- - name: gcr.io/cloud-builders/gsutil
- args:
- - 'cp'
- - '-r'
- - 'gs://$PROJECT_ID-secrets'
- - './secrets/'
+ - name: gcr.io/cloud-builders/gcloud
+ entrypoint: 'bash'
+ args: ['deploy/setup-secret.sh','-p', $PROJECT_ID]
# Build and tag skaffold builder
- name: 'gcr.io/cloud-builders/docker'
