-
-
Notifications
You must be signed in to change notification settings - Fork 849
Configure a Docker Automated build #644
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
Comments
Smart use of dependabot! |
@skywinder @olleolleolle did you have the chance to think about this? I suppose that if we want to build from master and publish under the |
@olleolleolle @skywinder let's resume this work if you want since there are a couple of issues related to this. :) What do you think? |
Happy to assist as well if needed; one thing I noticed in the old Dockerfile, is that it was fetching the source from inside the Dockerfile; using a |
Sounds like a good use case for a multi-staged build actually. So yes, good idea! I'll open a PR for this, since I don't yet have write access here :( |
@olleolleolle @skywinder I created an org in Docker Hub but you should approve the access request so I can eventually set up an automated build |
It's generally good etiquette to use pull requests, even if you have write access 🤗 |
@thaJeztah I'm a member of this org :) |
(I don't have admin rights on this repository.) I also can't see a Docker Hub Organization - does it exist somewhere? Looking around, I was able to find quite a few people who had set up builds: https://hub.docker.com/search?q=github-changelog-generator&type=image |
@olleolleolle I created an org here: https://cloud.docker.com/orgs/githubchangeloggenerator but need approval to create an automated build... |
@olleolleolle @skywinder I need admin access to this repo to proceed further on this. |
Hi all.
Let's track the requirements of this feature (now scattered across various PRs and issues).
Background
ferrarimarco
Docker Hub namespaceCurrent Implementation
ferrarimarco/github-changelog-generator is backed by the corresponding GitHub repository.
Each commit and Git tag pushed to that repository triggers a build on Docker hub and, if successful, in a new Docker image.
I am currently handling GHCG updates with Dependabot. This service automatically creates PRs to update dependencies by looking at your Gemfile.
This is the reason why I'm using a separate Gemfile even if we could get rid of it and run commands directly in the Dockerfile.
Ideas for a more refined implementation
Instead of just installing the updated Gem when available we could provide two kinds of Docker images:
latest
: by convention it could point to the latest (successful) build of the master branch. This image is overridden on each commit on master (if the build is ok)Thoughts?
/cc @olleolleolle @skywinder
The text was updated successfully, but these errors were encountered: