Skip to content

Add mie-opensource-landing image and PR preview#203

Merged
runleveldev merged 13 commits intomainfrom
cmyers_issue196
Mar 2, 2026
Merged

Add mie-opensource-landing image and PR preview#203
runleveldev merged 13 commits intomainfrom
cmyers_issue196

Conversation

@cmyers-mieweb
Copy link
Collaborator

Issue: #196
Supporting Issue: mieweb/launchpad#5
Related PR: mieweb/launchpad#7

Introduce a new mie-opensource-landing Docker image and CI preview flow. Adds mie-opensource-landing/Dockerfile and a docker-bake target, and updates images/docker-bake.hcl to include the new target. Update .github/workflows/build-images.yml to trigger on mie-opensource-landing changes and to generate/push metadata and cache settings for the new image. Add .github/workflows/pr-preview.yml to build PR-specific images, push them, and deploy/cleanup preview containers. Also tweak the systemd unit to load /etc/environment and set the working directory for the service.

image

Introduce a new mie-opensource-landing Docker image and CI preview flow. Adds mie-opensource-landing/Dockerfile and a docker-bake target, and updates images/docker-bake.hcl to include the new target. Update .github/workflows/build-images.yml to trigger on mie-opensource-landing changes and to generate/push metadata and cache settings for the new image. Add .github/workflows/pr-preview.yml to build PR-specific images, push them, and deploy/cleanup preview containers. Also tweak the systemd unit to load /etc/environment and set the working directory for the service.
Consolidate PR preview logic into the build-images workflow: add pull_request trigger, gate the main build to skip closed PRs, and introduce deploy-preview and cleanup-preview jobs to deploy/remove PR preview containers via Launchpad. Replace mie-opensource-landing image/bake target with a docs target (update docker-bake.hcl and bake/action references) and move/rename the Dockerfile to images/docs/Dockerfile (adding a service port LABEL). Remove the standalone pr-preview.yml workflow. Cache keys and metadata tags were adjusted to include PR/ref tags and docs-specific scopes.
@cmyers-mieweb cmyers-mieweb marked this pull request as ready for review March 2, 2026 20:54
Copy link
Collaborator

@runleveldev runleveldev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@runleveldev runleveldev merged commit 944e778 into main Mar 2, 2026
9 checks passed
@runleveldev runleveldev deleted the cmyers_issue196 branch March 2, 2026 20:57
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.

2 participants