ci: publish doublezero client docker image on release#3866
Merged
Conversation
Add release.docker.client.yml. On a successful releaser.client run (which publishes the client deb to Cloudsmith), build the thin client image and push ghcr.io/<owner>/doublezero:<version> and :latest. Also build (without pushing) on PRs that touch the Dockerfile or entrypoint, to catch regressions before a release.
juan-malbeclabs
approved these changes
Jun 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary of Changes
release.docker.client.yml, which builds and publishes the thin client image toghcr.io/<owner>/doublezero.releaser.clientrun (which publishes the client deb to Cloudsmith) viaworkflow_run, so the image build never races ahead of the apt package it installs. It resolves the released version from theclient/v*.*.*tag and pushes:<version>and:latest.client/Dockerfile, the entrypoint, or this workflow, it builds the image forlinux/amd64without pushing, to catch Dockerfile/entrypoint regressions before a release.GITHUB_TOKEN(no extra secrets), mirroringrelease.docker.core.yml.This completes the publish half of the thin client image added in #3862.
Diff Breakdown
A single additive CI workflow; no application code touched.
Key files (click to expand)
.github/workflows/release.docker.client.yml—workflow_runpublish job (resolves version from tag, pushes:version/:latest) plus a push-freepull_requestbuild job for validation.Testing Verification
actionlint(clean) and parses as valid YAML.client/Dockerfileand run on a clean Ubuntu 24.04 amd64 host, where the daemon starts anddoublezero statusreports correctly.pull_requestbuild-only job exercises the build path on this PR. Theworkflow_runpublish path can only fire from the default branch, so it activates after merge (first real run on the nextreleaser.clientrelease).