Repository navigation
Add GHCR Docker publishing and ZIP releases - #1
Merged
Merged
Conversation
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.
Version tags now publish a multi-platform image to
ghcr.io/bpoe/indirectionand attach a runtime-neutral ZIP to the GitHub Release. The separate Docker job depends on the existing test job, downloads its workflow artifact, and packages the already-published binaries without recompiling. GitHub Release creation requires successful Docker publishing.The single-stage distroless .NET 10 image runs as the built-in non-root user on port 8080. Docker-specific appsettings defaults SQLite to
/data/urls.db, while mounted appsettings can override the complete configuration through normal ASP.NET Core precedence. Compose provides a named data volume and runtime API-key passthrough. Migrations remain explicit through--migrate. README covers image tags, configuration, persistence, migrations, upgrades, and cross-platform ZIP deployment.Existing CI restore, build, tests, NuGet caching, coverage enforcement/artifacts, and portable publish steps are unchanged. Only the Docker publishing job receives
packages: write.Validation:
/health, UID 1654, no shell/package manager, explicit/idempotent migrations, no automatic startup migrations, persistent SQLite data across container replacement, WAL/SHM files, and mounted configuration writing to/custom/overridden.db.git diff --checkpassed.Arm64 runtime execution and GHCR publishing were not exercised locally. No release tag was created.