-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add container build workflow #9
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.
looks good. I have one suggestion inline.
If you do a beta tag on this you can check that the Publish works.
Thanks for looking at this.
I tried it (after changing the load/cache suggestion) and it failed because (I think) it's trying to publish to docker.io instead of ghcr.io. Any idea how to set the registry it's using? There doesn't seem to be a Also, does the image name need to be set somewhere or is it taken automatically from the repository name? |
Container is built on every PR and published on all tags matching `v*`
Think I've figured it out. Things left as an exercise for later PRs
|
I would expect 'load: true' to resolve this. I certainly don't see it.
I'm not sure which label you are discussing here
Note that if you push the same tag twice it does not delete the old image, just removes the tag from it. I'm pretty sure I also see untagged images in addition to that. I plan to create a job for our registries that cleans up untagged images occasionally. |
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.
LGTM
And don't add 'latest' tag manually - the action adds it automatically
See this one as an example. I think I was not tagging the build version correctly though so should be fixed now.
On the package page here it says
I don't think I've been reusing tags (other than |
Try to get images to be re-used.
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.
See inline comment.
I think it might just be for tags and not PRs? Epics containers appear to behave the same way, eg here the image is recompiled whereas the PR version of the same commit is using the cached version. |
Will close this as it is for now. Any other changes can be their own PR |
Build the image on every PR, publish all tags