docker-hugo
docker-hugo copied to clipboard
update image (Continuous Deployment)
Docker image is not up to date. Did you consider to use Continuous Deployment?
That would be interesting, sure. Do you have recommendation how to do CD in this use case?
- detect new release on hugo repository
- use this release to build image
Personally I use https://concourse-ci.org/ but it needs your own machine. Probably https://circleci.com/ can be better choice for you, because it is free and you don't have to maintenance your own server.
I'm not sure this would make sense considering the update to 0.80 required a number of additional changes (changed requirements for example). See #105
CI/CD should have tests to fail.
PS Today I recommend Github Actions as a CI/CD tool.
Can I make Github Actions trigger on a release in another repo?
Good question. I didn't need this so far in Github Actions.
I did fast serach in google and I found this https://stackoverflow.com/questions/58465057/trigger-a-github-action-when-another-repository-creates-a-new-release but I didn't try this myself.
Alternatively third service can watch hugo
repo and then trigger docker-hugo
. I think there are solutions for that, but I can't recommend anything.