Skip to content

GHCR container publishing (closes #17)#28

Merged
irobinson010 merged 1 commit into
mainfrom
feature/ghcr-publish
Jul 8, 2026
Merged

GHCR container publishing (closes #17)#28
irobinson010 merged 1 commit into
mainfrom
feature/ghcr-publish

Conversation

@irobinson010

Copy link
Copy Markdown
Owner

Summary

Closes #17 — the publish workflow from @krakenhavoc's feature/containerization branch (bdcd125), rebased onto main so it builds the combined CLI+web Dockerfile from #24 (uv.lock-frozen dependencies, non-root user, HEALTHCHECK) instead of carrying its own. On every push to main: tests → build → push ghcr.io/irobinson010/ascii-magic (latest + commit-sha tags) with build provenance attestation.

Two changes vs the original branch:

  • The Dockerfile/.dockerignore/README pieces are dropped — Color themes, captions, rain reveal, one-step color + PR #11 review fixes #24 already reconciled those (one image serving both the web GUI and one-shot CLI runs).
  • The test job syncs with uv sync --all-extras and runs uv run --no-sync pytest — the original pip install -e . && pip install pytest misses the web/video test deps, and a bare uv run would prune the extras.

After merge, the README's docker pull ghcr.io/irobinson010/ascii-magic examples from the original branch become real — happy to add that section as a follow-up once the first image publishes.

Test plan

  • Workflow YAML mirrors the reviewed original apart from the two documented changes
  • CI green on this PR
  • First publish run succeeds on merge (package visibility may need flipping to public in GHCR settings)

🤖 Generated with Claude Code

Brings bdcd125's build-and-publish workflow onto main, building the
combined CLI+web Dockerfile that landed in #24 (uv.lock-frozen deps,
non-root, HEALTHCHECK). Publishes ghcr.io latest + sha tags with build
provenance attestation on every push to main. Test job updated to
uv sync --all-extras + uv run --no-sync pytest so the web/video test
deps are actually present.

Closes #17.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

Co-authored-by: Luke Wilkinson <95864695+krakenhavoc@users.noreply.github.com>
@irobinson010
irobinson010 requested a review from krakenhavoc July 7, 2026 15:05
@irobinson010
irobinson010 merged commit 23d8aca into main Jul 8, 2026
6 checks passed
@irobinson010
irobinson010 deleted the feature/ghcr-publish branch July 8, 2026 14:44
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.

Docker: reconcile duplicate Dockerfiles between #11 and feature/containerization (base image, [web] extra, publish workflow, uv.lock)

1 participant