In the new google container creator, I cannot get the git tags at build time. During the build process, the default cloning does not seem to trigger the git tags. I added a custom build process that calls git fetch --tags , but this leads to an error:
Fetching origin git: 'credential-gcloud.sh' is not a git command. See 'git --help'. fatal: could not read Username for 'https://source.developers.google.com': No such device or address
# cloudbuild.yaml #!/bin/bash openssl aes-256-cbc -k "$ENC_TOKEN" -in gcr_env_vars.sh.enc -out gcr_env_vars.sh - source gcr_env_vars.sh env git config --global url.https:
google-compute-engine google-container-registry
quasiben
source share