codeship / codeship-tool-examples

Examples to get you started using Codeship Pro. Download the local CLI to follow along with these examples locally.
http://bit.ly/codeship-jet-tool
MIT License
52 stars 31 forks source link

Using templates for env build args example #49

Closed markphelps closed 6 years ago

markphelps commented 6 years ago

See: https://app.codeship.com/projects/103513/builds/f74e4989-6109-459d-a65b-0bbc0c0bbc89?service=25envbuildargs#log-1e64308b-b8de-415b-b255-fe551848774e

Ex:

app:
  build:
    dockerfile: Dockerfile
    args:
        CI_STRING_TIME: "{{.StringTime}}"
        CI: "{{.CI}}"
markphelps commented 6 years ago

closing this in favor of just adding to the existing build args example