Skip to content

Add container preview docker run command to PR descriptions#5

Merged
H1D merged 1 commit intomainfrom
feat/container-preview-in-pr
Feb 21, 2026
Merged

Add container preview docker run command to PR descriptions#5
H1D merged 1 commit intomainfrom
feat/container-preview-in-pr

Conversation

@H1D
Copy link
Copy Markdown
Owner

@H1D H1D commented Feb 20, 2026

Summary

  • Container images are now pushed to GHCR on PRs (was build-only before)
  • Each PR gets a stable pr-N tag (e.g. ghcr.io/h1d/easypdf-lite:pr-3)
  • After the image is pushed, the workflow appends a docker run command to the PR description with the exact image tag
  • Uses an HTML comment marker (`

Container Preview:

docker run --rm -p 3000:3000 ghcr.io/h1d/easypdf-lite:pr-5

Deploy Preview: https://69988bdd65d0356cf73e00b8--easypdf-lite.netlify.app

- Enable image push for pull requests (was build-only before)
- Add pr-N tag via docker/metadata-action so each PR gets a stable tag
- After push, append a docker run command to the PR description using
  the exact image tag that was built
@H1D H1D merged commit 86bc2a4 into main Feb 21, 2026
3 checks passed
@H1D H1D deleted the feat/container-preview-in-pr branch February 21, 2026 23:38
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