-
Notifications
You must be signed in to change notification settings - Fork 5
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
Build Docker image upon GitHub version tag #40
Comments
Well, the image will definitely build on travis for a version that is tagged, because tags are just specific commits and all commits to master are built. It's a matter of tagging the release on docker hub. Alternatively, we could create a |
Hmm, then something's afoot, because the latest build on DockerHub is from 22 days ago and I tagged a release on GitHub 14 days ago. In the first workflow, would you have to manually tag releases on DockerHub to have them harmonized? If we can set up a way to auto-tag releases on DockerHub (that are also tagged on GitHub), that would be great. I like the second workflow with |
It may only build with PRs that I merge? I’m not sure actually. Don’t understand precisely how Travis does the verification of the encrypted credentials. |
Reviving this issue because the PR you merged yesterday didn't trigger a Travis build; downstream effects are no update to the book and no update to the Docker image. Unclear if this is related, but something (I think the correlates repo) ate up all of my Travis credits, so it's possible that this will never run while correlates builds are happening? Perhaps we should switch to GitHub Actions (which I've seen other people do recently)? |
Yeah it may be the case that I've used all my travis credits. Could you run (for now) the build scripts locally and push to docker hub, |
Sure, that seems like a good option. I'll leave the issue open in case we want to come back to this later. |
I can update the book but I can't push to Docker Hub (I don't have the password for slapnap). Not sure if there is a secure way to share the password, but that's probably the easiest option (unless you want to build locally and push to Docker Hub yourself). |
It'd be great to have this functionality. It seems like it should go in .travis.yml, but I'm not sure where. Another option is to configure automatic builds on DockerHub, but that seems less satisfying.
The text was updated successfully, but these errors were encountered: