Open danstoner opened 4 years ago
It definitely isn't possible to set one ENV and then use that in the next ENV, at least in a single job context.
This does not work:
env:
- DOCKERFILE_DIR=base-idb-backend
- DOCKER_IMAGE_NAME=idigbio/docker-library.$DOCKERFILE_DIR
Maybe the global
section variables would be available inside a job.
To enforce the first part of the naming convention:
digbio/docker-library
Can we set a global var or use a TRAVIS_* variable?
$SOME_VAR=idigbio/docker-library
So then when it is time to add a new Dockerfile, it is pretty clear which parts needs to be modified.
DOCKER_IMAGE_NAME=$SOME_VAR.base-idb-backend-python3