Razorops configuration file (.razorops.yaml) can use power of subsitutions within [[]] placeholder. At runtime, the variables in .razorops.yaml gets evaluated and being used by the workflow steps. You can also use any environment variable that's been injected by the CI/CD engine.

You can use following templated values for your convenience -

Template Description
[[ .RepoBranch ]] The repository branch currently being built
[[ .RepoTag ]] The repository tag currently being built (if present)
[[ .CommitSHA ]] The repository commit SHA
[[ .Env.name ]] The environment variable name
[[ checksum "filename" ]] A base64 encoded hash (MD5) from the content of file filename
[[ platform ]] OS/CPU environment architecture (linux/amd64)
[[ arch ]] CPU architecture
[[ epoch ]] Time in seconds since epoch