Skip to content
This repository has been archived by the owner on Dec 26, 2020. It is now read-only.

Automate builds on Docker Hub #20

Open
m-dango opened this issue Oct 25, 2017 · 3 comments
Open

Automate builds on Docker Hub #20

m-dango opened this issue Oct 25, 2017 · 3 comments

Comments

@m-dango
Copy link

m-dango commented Oct 25, 2017

With an automated build, you can add a repository link so that when another docker hub repository is updated your docker container is automatically rebuilt. This would likely eliminate the need to request that a docker container be rebuilt when a language is updated.

@prasmussen
Copy link
Owner

I looked at that earlier and I couldn't figure out how to set it up with multiple images in one git repo. Do you know if it's possible? I would prefer to not create a separate repo for each image.

@m-dango
Copy link
Author

m-dango commented Oct 26, 2017

I'm pretty sure you can do it with 1 git repo, but I believe on Docker Hub you'll need an automated build for each language.

You put in the image location for the Dockerfile in question, then set the linked Docker Hub repository to whichever image the Dockerfile relies on for its language.

e.g. example setups with Python and Perl 6 https://imgur.com/a/RCWXl

@m-dango
Copy link
Author

m-dango commented Jan 18, 2018

I've kept the test automated builds up (to be honest, I'd forgotten about them!) and they've been building successfully since their creation 🙂

https://hub.docker.com/r/mienaikage/glot-test/builds/
https://hub.docker.com/r/mienaikage/glot-test-2/builds/

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

No branches or pull requests

2 participants