Building Docker images
You can build Docker images for your Helm charts and define any number of Docker builds for your application. However, Dockerfiles must be located in the application's source control repository and you cannot specify Docker builds from remote source control repositories.
Here's an example of Docker builds for custom Nginx and backend containers:
Build environment variables
Each container built by Release will generate environment variables that can be used in your Helm charts. By default, Release adds environment variables for the Docker registry and path to the image built.
Two environment variables are emitted per build. The Ngnix build in our example above will generate the variables NGINX_REGISTRY_IMAGE_URL
and NGINX_REGISTRY_IMAGE_SHA
.
Here's an example of generated build environment variables:
Last updated