Skip to content

Make legacy Docker publishing manual - #23

Merged
jadercorrea merged 1 commit into
mainfrom
chore/manual-docker-publish
Jul 28, 2026
Merged

Make legacy Docker publishing manual#23
jadercorrea merged 1 commit into
mainfrom
chore/manual-docker-publish

Conversation

@jadercorrea

Copy link
Copy Markdown
Owner

Why

Every semantic-version tag triggered two independent publication paths. The maintained GitHub release uses GoReleaser and the repository-scoped GITHUB_TOKEN, but the Docker job targets the legacy docker.io/gptcode/cli namespace and requires secrets that do not exist in this repository.

That would make a valid CLI release appear partially broken for a distribution channel that is not currently maintained.

What changed

Remove the tag trigger from the Docker Hub workflow while retaining workflow_dispatch. Docker publishing remains available as an explicit manual operation if ownership and credentials are restored.

The GitHub release workflow remains unchanged and continues to run make verify before publishing cross-platform archives and checksums.

Validation

  • make verify
  • public project contract
  • race-safe public examples
  • 100% statement coverage for the published example

Release tags triggered a Docker Hub job for the legacy gptcode/cli image, but this repository has no Docker Hub credentials. Every otherwise valid GitHub release would therefore include an unrelated failed workflow.

Keep the workflow available through workflow_dispatch while removing the tag trigger. GitHub releases remain automated through GoReleaser and the repository-scoped GITHUB_TOKEN.

If a maintained container distribution is needed later, define its owner, registry, credentials, and support contract before restoring automatic publication.
@jadercorrea
jadercorrea marked this pull request as ready for review July 28, 2026 16:46
@jadercorrea
jadercorrea merged commit 5d8caae into main Jul 28, 2026
1 check passed
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.

1 participant