Repository navigation
Conversation
Signed-off-by: Khosrow Moossavi <[email protected]>
Signed-off-by: Khosrow Moossavi <[email protected]>
|
ping @bradfitz @danderson |
|
I think @danderson is better qualified to review this one. |
|
This is generally good, however a couple of things are going to make me decline this PR:
@bradfitz thoughts on the above? |
|
I agree on the second bullet completely. I'm less convinced that this needs to be closed long-term, though. The version number weirdness we could solve somehow. But maybe we'll have a plan for that by the time we support Docker/Kubernetes well. |
|
Those are good points, and I wasn't aware of the issues on containerized version. And quite frankly doing release automation can vary for each project/team and I wasn't sure how heavily the other closed CI system is being used. Regardless I'm open to give a hand on both if need be, let me know. |
|
If you want to avoid the perception of supported container images, but still have builds available, why not create a This is what I've done in the past, then I only curate and promote releases to the canonical container repository (e.g. |
|
|
||
| - name: Set version output | ||
| id: vars | ||
| run: echo ::set-output name=tag::${GITHUB_REF:11} # tag name without leading 'v' |
There was a problem hiding this comment.
Out of interest why drop the v from the version on the Docker tag, but not the git tag? I don't have any preferences on using the v prefix or not, but I would think the reasoning would be the same whether this is a git tag or a container image tag (i.e. keep consistency across both)?
Thanks,
Your random unsolicited reviewer of the day :-)
There was a problem hiding this comment.
The reason I dropped v from Docker tag was because anything after : is considered some sort of a version and notion of v in that was kind of redundant. There are so many cases of both sides out there, two very notable ones:
- Grafana tags with leading
vBUT images without. - Prometheus tags with leading
vAND images also with.
At the end, this was a personal preference. And to be clear I'm not affiliated with Tailscale and this PR is only a personal contribution.
|
This is on hold for #504. We want to make our Dockerfile a bit more usable before we start getting too many bug reports about it. Also, we'd want to do this in our corp meta repo probably. I'm going to close this for now but we'll revisit it soonish I hope. |
This is to push docker images to https://hub.docker.com/r/tailscale/tailscale when:
masteredgev-
latestNote to reviewers:
vfrom tag name when pushing the image, let me know if you want me to revert that.Dockerworkflow for PRs which only builds the docker image, this might be a bit redundant but my thought was that to catch fast any potential building failure of images on the PR when binaries for the same PR were built successfully.REGISTRY_USERNAMEandREGISTRY_PASSWORDFixes #295
This change is
┆Issue is synchronized with this Asana task by Unito