worker export

worker export <varname> <value>

Synopsis

Inside a step script (https://ovh.github.io/cds/docs/actions/builtin-script/), you can create a build variable with the worker command:

worker export foo bar

then, you can use new build variable:

echo "{{.cds.build.foo}}"

Scope

You can use the build variable in :

worker export

SEE ALSO