Closed Samyak2 closed 3 years ago
unsupported: GitHub Container Registry is currently in read only mode. Image pushes are disallowed at this time.
Looks like the container registry is under maintenance currently :(
WOOOHOOOOOOO
I think this is ready now. I made a few changes
ghcr.io/pesos/grofer
instead of grofer
@Samyak2 you might want to update the branch :P
I'll rebase it on main
Is there anything left to do here?
Everything looks good to me, just to be sure: this image build will be triggered only when a new release comes out?
No. This is how it will work:
latest
image.1.3.1
tagged image would be pushed on the next release.So, pulling ghcr.io/pesos/grofer
would give the image from the main branch (since that is tagged as latest
). This, if I'm not wrong, is similar to go get
which pulls from the default branch.
Sounds good
Could you add 1-2 lines in the README along the lines of what latest
means in our case and if they want to use a particular version, how they can do it?
I've added a couple of lines on that.
A few things that should be noted here:
latest
image and release images (tags) are not tested xD. They can only be tested once we merge this (and the tag one when we make a new release). act
can't test these either since it fails at the login step. We might have to make hotfixes if it breaks. On that note, is it possible to force Actions to run the release (tag) workflow manually so that the 1.3.0
image is built?1.3.0
without the v
prefix. We might have to change this in the README if it's different.^ Rebased on main
Is there anything else to do here?
@Samyak2 Changes look good to me! But do workflows trigger on commits? I'm asking because I don't see one for this (or I might not be looking properly, plis help :P).
@Samyak2 Changes look good to me! But do workflows trigger on commits? I'm asking because I don't see one for this (or I might not be looking properly, plis help :P).
@Gituser143 yes, but this one is run only on commits to the main branch and not on PRs. It can be enabled on PRs too, but if they aren't from an internal branch of this repo (pesos/grofer), it will just give a permission denied error. Also, it's run on push rather than commits. So if multiple commits are pushed at a time, it will run only once for the latest commit.
Description
Fixes #101
Based on #106
golang
imagegrofer
is installed usinggo install
from the local sourceHOST_PROC
,HOST_SYS
, etc. is set forgopsutil
Type of change
Please delete options that are not relevant.
Checklist:
go fmt
on my code (reference)TODO