Skip to content
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

Move to Github Actions for Release CI, publish to Dockerhub and GHCR #94

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

dereknola
Copy link
Member

@dereknola dereknola commented Feb 26, 2025

  • Remove release steps from Drone CI. Note that PR CI still runs there and test builds.
  • Arrived at the following setup for CI release:
    • All 3 architectures are build in parallel, pushing digest releases to dockerhub and GHCR
    • At the end, a merge-manifests job combines them into the actual tagged release and pushed to registries
    • amd64 is built on amd64 host
    • arm64 is built on arm64 host
    • arm32 is emulated on arm64 host (way better performance than emulating on amd64 host)
  • latest tags are now published.
  • VERSION-ARCH tags are no longer published due to limitations on docker push action. So no more v0.4.10-arm tag, just the combined tag of v0.4.10.

Note the following must be added before this CI can work

  • Action secret DOCKER_USER .... user account (for k3s-io this will be rancher, due to legacy publishing)
  • Action secret DOCKER_TOKEN dockerhub api token with "read/write" permissions

Signed-off-by: Derek Nola <derek.nola@suse.com>
Signed-off-by: Derek Nola <derek.nola@suse.com>
Signed-off-by: Derek Nola <derek.nola@suse.com>
Signed-off-by: Derek Nola <derek.nola@suse.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants