You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is possible to use underscores, although it's unintuitive
A variable with an underscore, like DOCKER_PASSWORD, can be referenced by changing the part after the underscore to sentence case, like DOCKERPassword.
Here is a working example of a cloudbuild.yaml demonstrating this behaviour:
Using underscores in secret environment variables fail
Using an "_" (underscore) in a secret environment variable in a
cloudbuild.yaml
fails with this misleading message:The
cloudbuild.yaml
that produced this is:It is possible to use underscores, although it's unintuitive
A variable with an underscore, like
DOCKER_PASSWORD
, can be referenced by changing the part after the underscore to sentence case, likeDOCKERPassword
.Here is a working example of a
cloudbuild.yaml
demonstrating this behaviour:The text was updated successfully, but these errors were encountered: