Skip to content

Image build stops when the page has no index.html - #203

Merged
jcombs-pointblue merged 1 commit into
mainfrom
image-page-check
Dec 1, 2026
Merged

jcombs-pointblue merged 1 commit into
mainfrom
image-page-check

Conversation

@jcombs-pointblue

Copy link
Copy Markdown
Contributor

The 0.98.0 page zip was made one folder up, so every file sat under dist/. image.yml unzips it into web/dist, which gave the GHCR 0.98.0 / latest image /opt/idmweb/web/dist/dist/index.html; the server found no index.html and answered "The page is not built" after sign-in (reported by a Podman user). Harbor's 0.98.0 is built from a local web/dist and was fine; GHCR 0.97.0 and earlier are fine.

Already done outside this PR: the v0.98.0 page zip was replaced (same files, no dist/ prefix) and image.yml re-run for 0.98.0.

This PR:

  • image.yml: after the unzip, stop with an error (and the zip's listing) if web/dist/index.html is missing.
  • hosted/docker/build.sh: the same check before copying web/dist.
  • docs/development.md: make the page zip from inside web/dist.
  • CHANGELOG under Unreleased.

🤖 Generated with Claude Code

The 0.98.0 page zip had its files under an extra dist/ folder, so the GHCR
0.98.0 (latest) image answered "The page is not built" after sign-in. The
image workflow and hosted/docker/build.sh now check web/dist/index.html, and
docs/development.md says to zip from inside web/dist.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jcombs-pointblue
jcombs-pointblue merged commit 2af4378 into main Dec 1, 2026
2 checks passed
@jcombs-pointblue
jcombs-pointblue deleted the image-page-check branch December 1, 2026 13:10
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