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

Provide prebuilt docker image via Github Action #178

Open
KagurazakaNyaa opened this issue Jun 29, 2022 · 4 comments
Open

Provide prebuilt docker image via Github Action #178

KagurazakaNyaa opened this issue Jun 29, 2022 · 4 comments

Comments

@KagurazakaNyaa
Copy link

Is your feature request related to a problem? Please describe.
Currently, unlike the upstream project, this project only has Dockerfile but no official pre-built docker image. This results in having to manually build the docker image from source when deploying to docker.

Describe the solution you'd like
Use GitHub Actions to build images and push them to Docker Hub or ghcr.io as official images.

Describe alternatives you've considered
The image of the upstream project is likely to be built by the maintainer and pushed to the docker hub, which can also be used as an alternative, but it is better to use GitHub Action.

Additional context
N/A

@caryoscelus
Copy link

@KagurazakaNyaa we're interested in auto-building docker images for our fork , are you familiar with how this works ? is there any chance you can help set this up ? looking forward to your reply and thanks for the idea

@KagurazakaNyaa
Copy link
Author

@KagurazakaNyaa we're interested in auto-building docker images for our fork , are you familiar with how this works ? is there any chance you can help set this up ? looking forward to your reply and thanks for the idea

https://docs.github.com/en/actions/publishing-packages/publishing-docker-images

You can refer to this document to configure automatic builds, it is very simple, but you need to register the corresponding organization or account in https://hub.docker.com/ to claim the namespace of the image.

@canewsin
Copy link
Collaborator

canewsin commented Jul 1, 2022

@KagurazakaNyaa Docker Image available at https://github.com/ZeroNetX/ZeroNet#docker

@KagurazakaNyaa
Copy link
Author

I used this image, but it doesn't seem to follow the source code update, the latest version on GitHub has been released to 0.8.0, but the image still uses version 0.7.9
I still recommend using GitHub Actions for automatic image builds to keep docker images up to date.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants