Skip to main content

Variables

Placeholders in the project configuration will be substituted with environment variables, which allows you to inject dynamic data.

Placeholders for environment variables are written in upper case and are prefixed with the $ sign as shown below.

registries:
my-registry:
push_path: /my-path
server: registry.my-org.io
email: $MY_REGISTRY_EMAIL
user: $MY_REGISTRY_EMAIL
password: $MY_REGISTRY_PASSWORD

These placeholders will be substituted by the environment variables which you either export to your local system or through your CI/CD system.

In you local system, you can use an .env file. CI/CD variables must be defined in the respective system, e.g. as documented for CI/CD variables in GitLab.