-
Notifications
You must be signed in to change notification settings - Fork 182
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
Automatically build and push multiarch docker images on Release #697
Conversation
PS: The same workflow can be applied after that to handle rel5 and not to push |
- name: Login to Docker Hub | ||
uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} |
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.
@rwynn Remember to add those 2 variables (DOCKERHUB_USERNAME, DOCKERHUB_TOKEN) before triggering the build :)
Use rwynn/monstache instead of my copy :)
This new workflow is the second and last step (after #696) to release monstache for multiple architectures.
It will automatically generate docker images for
latest
,rel6
and also push images with semantic versionning. For example releasev6.7.12
would pushI did not use the base version of the image as you did previously, but based it directly on alpine. I think it make things more complicated, and since all the build is now done automatically the extra seconds are not a problem anymore.
You can find an exemple of the output here : https://hub.docker.com/r/adoy/monstache/tags (I will delete this repo once merged).