Closed Starttoaster closed 4 months ago
Ah, my commits are signed but not signed off on. So I'm failing that DCO check. Will fix that but will have to force push it up.
edit: Fixed signoffs.
FYI, I set up mostly the same workflows in a repo of my own just to try them out, and you can see what they did. The only thing I think I stripped out was the docker hub login, for testing purposes I'm just using github's container registry. But here: https://github.com/Starttoaster/ci-playground I created a release tag, a pre-release tag, and just ran CI against a push to main. Those created the following tagged version https://github.com/Starttoaster/ci-playground/pkgs/container/ci-playground
Closing. I think there's a lack of interest here. I'm just going to own my fork of this repo with security patches :)
Sorry for the radio silence on this, I wanted to get to this sooner but I've been extremely busy as of late unfortunately. Eventually carved out time to work on this :smile: Regards https://github.com/trickstercache/trickster/issues/691 FYI @jnichols-git
These workflows should handle building and pushing images to docker hub and github's container registry, using qemu and docker buildx to build for the arm64 and amd64 platforms.
We have two files here:
publish-docker.yaml
::x.x.x
,:x.x
, and:x
), it also updates the:latest
tag from the latest release code, and creates a:sha-<commit sha long>
tag:main
tag, and creates a:sha-<commit sha long>
tagpublish-docker-prerelease.yaml
::x.x.x-rc1
for a tagged prerelease like:x.x.x-rc1
), and creates a:sha-<commit sha long>
tagA slight change here that I wanted to specifically call out was that this adds a new kind of tag that I don't think you currently do. And this is the tag that will get rebuilt over time from a fresh alpine base. Which is the
:main
tag. I can also just switch this to be the:latest
tag, depending on what you want. But:main
gets refreshed every week.:latest
will just track the latest released version and will be refreshed every time a release happens. And the semver tags will just be tagged once when a release is cut.Some important general notes here: