Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is it possible to set idigbio/docker-library globally #3

Open
danstoner opened this issue Apr 23, 2020 · 1 comment
Open

is it possible to set idigbio/docker-library globally #3

danstoner opened this issue Apr 23, 2020 · 1 comment
Assignees

Comments

@danstoner
Copy link
Contributor

danstoner commented Apr 23, 2020

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

@danstoner danstoner self-assigned this Apr 23, 2020
@danstoner
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant