ci(release): push images to Docker Hub alongside Quay - #743
Merged
Conversation
lakhansamani
force-pushed
the
chore/dual-registry-push
branch
from
August 5, 2026 07:06
c30ff70 to
78bdae2
Compare
Quay keeps no lifetime pull counter — only daily rows, exposed for a trailing 92 days (MAX_DAYS_IN_3_MONTHS in quay/quay). Docker Hub keeps a monotonic one, and lakhansamani/authorizer already holds 5 years of it, stalled since v2.2.1 when releases went Quay-only. One buildx invocation carries both tag sets, so digests match and build time is unchanged. Buildcache stays on Quay alone. Reuses the existing DOCKER_USERNAME/DOCKER_PASSWORD secrets from when releases last shipped to Docker Hub.
lakhansamani
force-pushed
the
chore/dual-registry-push
branch
from
August 5, 2026 07:07
78bdae2 to
a92ce66
Compare
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.
Why
Quay has no lifetime pull counter. It stores daily rows in
RepositoryActionCountand exposes at most a trailing 92 days (MAX_DAYS_IN_3_MONTHS,quay/quay); the namespace listing'spopularityfield is a 7-day sum (get_repositories_action_sums). There is no cumulative column in the schema — nothing to enable, nothing to fix on Quay's side.Docker Hub does keep a monotonic counter, and
lakhansamani/authorizeralready holds five years of it. It stalled at v2.2.1 (2026-04-14) when releases went Quay-only.Current state:
quay.io/authorizer/authorizerdocker.io/lakhansamani/authorizerWhat
docker buildx build --push. Identical digests, no extra build minutes, no second job.:lateststill moves only on strict semver — rc/beta/alpha never win, on either registry.One file changed. No new secrets: reuses
DOCKER_USERNAME/DOCKER_PASSWORD, already present from when releases last shipped to Docker Hub.Notes
DOCKER_PASSWORDis an account password rather than an access token and the account has 2FA enabled,docker loginwill fail — worth a dry run viaworkflow_dispatchbefore tagging a real release.buildcachepulls from our own CI land in the same repo-level counter, so neither total is purely end-user traffic.DOCKERHUB_IMAGEpoints at the personal namespacelakhansamani/authorizerto preserve the existing 39k history. Moving to anauthorizer/authorizerorg on Docker Hub is a one-line change but forks the counter — worth deciding now rather than later.