vmware-tanzu / concourse-kpack-resource

Use a kpack image in a concourse pipeline naturally.
Other
4 stars 1 forks source link

Allow putting to an image with environment variable updates #4

Open matthewmcnew opened 4 years ago

matthewmcnew commented 4 years ago

Often pipelines contain information that will get updated with and needs to be applied as an environment variable.

Some examples of this are:

- put: some-image
  params:
     environment_variables:
          BP_GO_TARGET: "./cmd/controller"
     environment_variables_file:
          CUSTOM_VERSION: "version-resource/version" 

Then: the build-service image is updated with the provided env variables.