Comments (2)
@jrean based on this documentation you must use _
underscore:
You can also define your own substitutions. User-defined substitutions must conform to the following rules:
Substitutions must begin with an underscore (_) and use only uppercase-letters and numbers (respecting the regular expression _[A-Z0-9_]+). This prevents conflicts with built-in substitutions. To use an expression starting with $ you must use $$. Thus:
$FOO is invalid since it is not a built-in substitution.
$$FOO evaluates to the literal string $FOO.
The number of parameters is limited to 100 parameters. The length of a parameter key is limited to 100 bytes and the length of a parameter value is limited to 4000 bytes.
You can specify variables in one of two ways: $_FOO or ${_FOO}:
Both $_FOO and ${_FOO} evaluate to the value of _FOO. However, ${} lets the substitution work without surrounding spaces, which allows for substitutions like ${_FOO}BAR.
$$ allows you to include a literal $ in the template. Thus:
$_FOO evaluates to the value of _FOO.
$$_FOO evaluates to the literal string $_FOO.
$$$_FOO evaluates to the literal string $ followed by the value of _FOO.
from cloud-builders-community.
@kevinblanco Thanks! Helpful. Do you mind to update my example ; I can't get it to work right now.
from cloud-builders-community.
Related Issues (20)
- Windows Builder Error "The system cannot find the path specified" HOT 8
- gcr.io/cloud-builders-community/ng - BUILD FAILURE HOT 3
- Crypto token
- Cloud build with source repositories - mirror github repo containing git lfs files
- cloudbuild-ndk.yaml using NDK that hasn't been supported since 2018 HOT 1
- Using secrets from GCP Secret Manager in Helm GCP Cloud Builder HOT 1
- Build fails on image push - Repository "gcr.io" not found HOT 1
- "Error: Not in a Firebase app directory (could not locate firebase.json)", but it is there?¿
- I can not deploy specified hosting target
- ?? What do i do HOT 1
- Slackbot integration documentation not completed HOT 1
- Helm version bump HOT 2
- entrypoint.bash is non-compliant with Shell Style Guide
- docker-compoose builder fail on docker-compose version above 2
- [Feature request] envsubst: support passing -s multiple times
- Cloud Build: Firebase application deployment failed due to the experimental web framework not being enabled. HOT 2
- Can not build image with packer HOT 5
- Gcloud builds submit fails with "gcr.io/$PROJECT_ID/helm" HOT 1
- Add `apt` Cloud Builder
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloud-builders-community.