Sage-Bionetworks / sage-workflows-sandbox

In-progress and example CWL tools/workflows
2 stars 5 forks source link

Explore Travis 'push' model for building/deploying container images #12

Open jaeddy opened 5 years ago

jaeddy commented 5 years ago

Using container repositories (DockerHub, QUAY) to automatically build images via webhooks works great when there's one container/Dockerfile per source code repo (e.g., GitHub). However, hosting multiple containers in a repo can be problematic for several reasons:

Using a Travis job to build and publish a container image (via docker push) might allow for more fine-grained control of build jobs and tags/versions. We should look into how this might work in practice, and maybe set up a small example.

This post looks like a nice place to get started: https://adriankoshka.github.io/blog/posts/travis-and-quay/