ci: add GHCR release workflow and multi-arch image publishing#52
Merged
Conversation
Adds .github/workflows/release.yml that builds a multi-arch Docker image (linux/amd64, linux/arm64), pushes it to ghcr.io/izzetee/pipimink, and creates a GitHub Release on v*.*.* tags or manual dispatch. Also makes the Dockerfile providers.json COPY resilient to fresh CI checkouts (providers.json is gitignored) and documents the published image in 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 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.
Summary
Adds Docker release automation so tagged versions publish a ready-to-run container image.
Changes
.github/workflows/release.yml:v*.*.*tag pushes and via manualworkflow_dispatch(with ataginput, so the existingv0.6.0tag can be built retroactively).linux/amd64,linux/arm64) with QEMU + Buildx.ghcr.io/izzetee/pipiminkwithvX.Y.Z,X.Y, andlatesttags.CHANGELOG.mdsection.providers.jsonCOPY resilient.providers.jsonand.envare gitignored, so a fresh CI checkout does not contain them; listing the always-trackedproviders.example.jsonkeeps the COPY from failing while still copying the real file for local builds.[Unreleased]note for the release automation.Notes
GITHUB_TOKEN(no extra secrets);packages: writepermission is scoped to this workflow.docker/metadata-action, soIzzetee/PiPiMinkmaps toghcr.io/izzetee/pipimink.v0.6.0tag already exists and will not retro-trigger on push, so the first image can be published by running the workflow manually with inputv0.6.0.