Skip to content

ci: publish Docker image to GHCR; document the one-command run - #1

Merged
kzekiue merged 1 commit into
mainfrom
ci/ghcr-image
Jun 21, 2026
Merged

ci: publish Docker image to GHCR; document the one-command run#1
kzekiue merged 1 commit into
mainfrom
ci/ghcr-image

Conversation

@kzekiue

@kzekiue kzekiue commented Jun 21, 2026

Copy link
Copy Markdown
Owner

Makes the "one docker command" path real by publishing a prebuilt image, so users do not need to clone and build.

Workflow (.github/workflows/docker-publish.yml)

  • Builds and pushes to ghcr.io/kzekiue/tinyreplay on push to main (:latest) and on vX.Y.Z tags (versioned via docker/metadata-action).
  • Uses the built-in GITHUB_TOKEN (packages: write) — no registry secrets needed.

README

  • Docker section now leads with docker run ghcr.io/kzekiue/tinyreplay; build-from-source kept as the alternative.

Required after merge (image is private by default)

  1. Wait for the Publish image job to finish (~5 min build).
  2. Repo → Packages → tinyreplay → make visibility Public (one-time).
  3. Verify logged out:
    docker logout ghcr.io
    docker run --rm -p 3000:3000 -v "$(pwd)/data:/app/data" ghcr.io/kzekiue/tinyreplay
    curl -s localhost:3000/api/health

Until step 2 is done the image is not anonymously pullable, so merge only when ready to flip visibility.

Add a workflow that builds and pushes the image to ghcr.io on pushes to
main (:latest) and on vX.Y.Z tags (versioned). Lead the README Docker
section with `docker run ghcr.io/kzekiue/tinyreplay` so the prebuilt-image
path is the default, with build-from-source kept as the alternative.
@vercel

vercel Bot commented Jun 21, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tinyreplay-docs Ready Ready Preview, Comment Jun 21, 2026 7:17am

@kzekiue
kzekiue merged commit 53591f3 into main Jun 21, 2026
4 checks passed
@kzekiue
kzekiue deleted the ci/ghcr-image branch June 21, 2026 07:20
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