docker-hugo icon indicating copy to clipboard operation
docker-hugo copied to clipboard

update image (Continuous Deployment)

Open kwladyka opened this issue 5 years ago • 6 comments

Docker image is not up to date. Did you consider to use Continuous Deployment?

kwladyka avatar Aug 08 '19 15:08 kwladyka

That would be interesting, sure. Do you have recommendation how to do CD in this use case?

jojomi avatar Aug 09 '19 09:08 jojomi

  1. detect new release on hugo repository
  2. 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.

kwladyka avatar Aug 09 '19 09:08 kwladyka

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

sebastientaggart avatar Feb 25 '21 15:02 sebastientaggart

CI/CD should have tests to fail.

PS Today I recommend Github Actions as a CI/CD tool.

kwladyka avatar Feb 25 '21 15:02 kwladyka

Can I make Github Actions trigger on a release in another repo?

jojomi avatar Feb 25 '21 17:02 jojomi

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.

kwladyka avatar Feb 25 '21 17:02 kwladyka