Skip to content
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

Docker image auto build and deploy #4693

Closed
kfeofantov opened this issue May 3, 2018 · 19 comments
Closed

Docker image auto build and deploy #4693

kfeofantov opened this issue May 3, 2018 · 19 comments

Comments

@kfeofantov
Copy link

Please, add automated docker build and push at docker hub in CI Pipeline.
I can write pipeline for CircleCI or Travis.

@kfeofantov kfeofantov changed the title Docker image auto deploy Docker image auto build and deploy May 3, 2018
@mlake
Copy link

mlake commented Jul 20, 2018

+1 for Composeability

@stale
Copy link

stale bot commented Nov 17, 2018

This issue has been automatically marked as stale because it has not had recent activity. The resources of the Hugo team are limited, and so we are asking for your help.
If this is a bug and you can still reproduce this error on the master branch, please reply with all of the information you have about it in order to keep the issue open.
If this is a feature request, and you feel that it is still relevant and valuable, please tell us why.
This issue will automatically be closed in the near future if no further activity occurs. Thank you for all your contributions.

@stale stale bot added the Stale label Nov 17, 2018
@yajo
Copy link

yajo commented Nov 19, 2018

I think this is still relevant because Hugo users usually perform some kinda autobuild for their websites, usually done in a CI/CD pipeline, usually based on Docker for easiness and reusability.

This would make the project more usable, and still more maintainable because CI would do the dirty job.

@stale stale bot removed the Stale label Nov 19, 2018
@stale
Copy link

stale bot commented Mar 19, 2019

This issue has been automatically marked as stale because it has not had recent activity. The resources of the Hugo team are limited, and so we are asking for your help.
If this is a bug and you can still reproduce this error on the master branch, please reply with all of the information you have about it in order to keep the issue open.
If this is a feature request, and you feel that it is still relevant and valuable, please tell us why.
This issue will automatically be closed in the near future if no further activity occurs. Thank you for all your contributions.

@stale stale bot added the Stale label Mar 19, 2019
@jonahbron
Copy link

I would also like to see an officially maintained Docker image be added. 👍

@stale stale bot removed the Stale label Mar 30, 2019
@stale
Copy link

stale bot commented Jul 28, 2019

This issue has been automatically marked as stale because it has not had recent activity. The resources of the Hugo team are limited, and so we are asking for your help.
If this is a bug and you can still reproduce this error on the master branch, please reply with all of the information you have about it in order to keep the issue open.
If this is a feature request, and you feel that it is still relevant and valuable, please tell us why.
This issue will automatically be closed in the near future if no further activity occurs. Thank you for all your contributions.

@stale stale bot added the Stale label Jul 28, 2019
@eugene-bright
Copy link

There is an official docker image on dockerhub. But it is stale like this issue.

@stale stale bot removed the Stale label Aug 4, 2019
@bep
Copy link
Member

bep commented Aug 4, 2019

There is an official docker image on dockerhub. But it is stale like this issue.

That gohugoio account isn't official.

@eugene-bright
Copy link

So it's a well crafted fake that drains reputation then.

@pierreozoux
Copy link

pierreozoux commented Oct 14, 2019

Gitlab provides one.
I also think that the project should provide one, it would be cleaner for our CICD pipelines :)
If you need help to set it up, please don't hesitate to ask!

@jufemaiz
Copy link

jufemaiz commented Oct 31, 2019

Let’s get this moving on dockerhub?

@ChenXiyu
Copy link

ChenXiyu commented Feb 25, 2020

It is a good practice to wrap a command line tool into a docker image, I believe.
Could you please release an official image for us?

I know it's easy to build image for ourselves, but It need every individual who use Hugo as docker containers to watch Hugo releases to keep updated. If we got an official docker image, Dependabot could help to update our image tags.

Or you have other concerns about this?
Is the dockerhub account name bothering?

@peaceiris
Copy link
Contributor

peaceiris commented Feb 25, 2020

We (I) plan to use GitHub to publish docker images.

#6405 (comment)

FYI.

#5056 is a similar issue.

@Christoph-Harms
Copy link

Christoph-Harms commented Jun 4, 2020

How can one help with this? Sure, if people want to use hugo in their automated, containerized environments, they can just clone the repo and do the docker build themselves. But it is pretty much standard to provide a dockerized version of a CLI application. It's the direction the industry has been moving in for the past years.

When I tried to use the gohugoio/hugo image last week and noticed that it is based upon a version of hugo that is two years old, I was very confused. Then I noticed that it is not THIS repo that the image is built upon, but a fork. So I thought: "Alright, some 2 years ago, someone broke the docker build. And apparently it was very hard to fix or something. So they switched to a working fork, and then forgot it or deprioritized it or whatever." So I thought, I'm going to fork the hugo repo and fix the damn build, do something for the OS community.

I was even more confused when I cloned my fork, ran docker build on it and everything worked. I don't understand. Docker Hub has an autobuild feature. Providing an up-to-date docker image should be as easy as re-connecting THIS repo to the gohugoio/hugo repo on Docker Hub and telling it to auto-build everytime something gets merged into master. But then again, if it was that easy, it would have been done, right? So what am I missing?

@bep
Copy link
Member

bep commented Jun 4, 2020

@Christoph-Harms I recommend this one: https://hub.docker.com/r/klakegg/hugo/

@Christoph-Harms
Copy link

That gohugoio account isn't official.

I overlooked that comment of yours, @bep. That explains it. Shame that it "looks" official, because the account names on Docker Hub and Github are the same. :/ It gives a taste of, I don't know, unreliability? It's not exactly what I mean, but I don't have a better word. It puts hugo in a bad light. Kind of. I hope what I want to say here actually comes across. 😅 I love hugo and I want everyone else to love it, too! :)

@Christoph-Harms I recommend this one: https://hub.docker.com/r/klakegg/hugo/

Looks great, thank you! I didn't even find that one when browsing Docker Hub. Only old forks or specialized builds.

@bep
Copy link
Member

bep commented Jun 4, 2020

@Christoph-Harms @klakegg is reliable. I understand that the "official Hugo docker situation" isn't ... ideal, but it's a priority/time thing. I have now added the klakegg Docker to the Hugo install page so it should be easier to find.

@stale
Copy link

stale bot commented Oct 4, 2020

This issue has been automatically marked as stale because it has not had recent activity. The resources of the Hugo team are limited, and so we are asking for your help.
If this is a bug and you can still reproduce this error on the master branch, please reply with all of the information you have about it in order to keep the issue open.
If this is a feature request, and you feel that it is still relevant and valuable, please tell us why.
This issue will automatically be closed in the near future if no further activity occurs. Thank you for all your contributions.

@stale stale bot added the Stale label Oct 4, 2020
@stale stale bot closed this as completed Dec 25, 2020
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests