harbur / captain

Captain - Convert your Git workflow to Docker :whale: containers
MIT License
766 stars 51 forks source link

Support env variables for YAML file #72

Open estahn opened 7 years ago

estahn commented 7 years ago

We're currently exposing our AWS account number through the YAML file. It would be helpful to inject this via env variables:

Actual:

apache:
  build: Dockerfile
  image: 123456789.dkr.ecr.ap-southeast-2.amazonaws.com/foobar/apache

Expected:

apache:
  build: Dockerfile
  image: $DOCKER_HUB_DOMAIN/foobar/apache