ci: remove the Docker Hub description sync workflow#316
Merged
Conversation
Docker Hub gates repository description edits behind an account-password session token; a Read/Write personal access token is scoped to image pull/push only and gets 403 on the description endpoint. Rather than store the account password in CI for a public repository, drop the workflow. The Docker Hub repository overview is maintained manually from the README.
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
What
Remove the
Docker Hub descriptionworkflow added earlier.Why
Docker Hub gates repository description/overview edits behind a session token minted from the account password. A Read/Write personal access token is scoped to image pull/push and returns 403 on the description endpoint, so the workflow cannot succeed without storing the account password as a secret. That is not acceptable for a public repository, so the workflow is dropped and the Docker Hub overview is maintained by hand from the README.
How to verify
The workflow file is gone and no
Docker Hub descriptionjob runs onmain. Image publishing (GoReleaser to GHCR and Docker Hub) is unaffected.Notes for reviewers
Image push auth (the Read/Write token via the registry API) is unchanged; only the metadata-sync workflow is removed.