Repository navigation
Image build stops when the page has no index.html - #203
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The 0.98.0 page zip was made one folder up, so every file sat under
dist/.image.ymlunzips it intoweb/dist, which gave the GHCR 0.98.0 /latestimage/opt/idmweb/web/dist/dist/index.html; the server found noindex.htmland answered "The page is not built" after sign-in (reported by a Podman user). Harbor's 0.98.0 is built from a localweb/distand 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) andimage.ymlre-run for 0.98.0.This PR:
image.yml: after the unzip, stop with an error (and the zip's listing) ifweb/dist/index.htmlis missing.hosted/docker/build.sh: the same check before copyingweb/dist.docs/development.md: make the page zip from insideweb/dist.🤖 Generated with Claude Code