-
Notifications
You must be signed in to change notification settings - Fork 123
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 Hub container upload automation using GitHub Actions #111
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this @BitFis! I've left some small comments and hope to merge this soon. It'd make container release management much easier.
Alright, you need to check if it works. I think It might be great if the docker is on every commit built but not pushed, using something like: https://stackoverflow.com/questions/58139406/only-run-job-on-specific-branch-with-github-actions#58142412 but i guess lets just merge this first. |
ps. happy new year 🍾 😄 |
Success! |
Hey guys,
thought this might be a sleek solution for #109, what do you think?
I felt like trying github actions so i did this test.
To set this up, you need to create two secrets:
and copy my https://github.com/BitFis/grocy-docker/blob/master/.github/workflows/build-docker.yml file.
The build image tag can be configured with
GROCY_IMAGE_TAG docker-compose build
, the defaultvalue for simplicity is
latest
. On push of any tag starting withv
, a latest version and aswell as tag version is created.Hope I was able to help you, if you prefer hooks, just close this issue.
cheers