Skip to content

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

Draft
cmyers-mieweb wants to merge 12 commits intomainfrom
cmyers_issue196
Draft

Add mie-opensource-landing image and PR preview#203
cmyers-mieweb wants to merge 12 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.
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