Add automated GHCR publish + versioned Git tag/release workflow#1
Merged
Conversation
Agent-Logs-Url: https://github.com/hichbox/mmdb-server/sessions/fb644c6f-dc09-4f90-b253-5bf95fcaa1e4 Co-authored-by: itsrofly <99050170+itsrofly@users.noreply.github.com>
Agent-Logs-Url: https://github.com/hichbox/mmdb-server/sessions/fb644c6f-dc09-4f90-b253-5bf95fcaa1e4 Co-authored-by: itsrofly <99050170+itsrofly@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add GitHub Actions workflow for Docker image builds
Add automated GHCR publish + versioned Git tag/release workflow
May 21, 2026
itsrofly
approved these changes
May 21, 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.
This PR adds release automation so every push to the default branch builds/publishes the Docker image and creates a matching Git tag + GitHub Release for traceability. The Docker
latesttag and version tag are emitted together from the same workflow run.Workflow scope
.github/workflows/docker-release.ymlmainDockerfileas build sourceImage publishing
ghcr.io/hichbox/mmdb-server:latest:<version>where version is deterministic from commit stateVersioning + release alignment
vYYYY-MM-DD.<short_sha>Idempotent tag/release creation
Permissions/auth
GITHUB_TOKENfor GHCR auth and GitHub API operationscontents: write,packages: writeOriginal prompt
This pull request was created from Copilot chat.