ci: build and push static download site Docker image on master #1

Manually merged
Agel merged 1 commits from docker_wiki_static_site into master 2026-11-23 20:22:13 +01:00
Owner

Instead of linking to ephemeral CI artifacts on a wiki, package each
master release's built binaries into a self-contained Nginx static site
container (gitea.agel.dev/asteria/site:latest and :<version>) via a
new build-site-image job in Gitea Actions.

Because the unprivileged kaniko-builder runner has no Node.js runtime
for artifact actions, the multi-stage Dockerfile.site fetches the
just-published v<version> release assets (permission-preserving Linux
.AppImage.tar.gz archives, Windows portable .zip packages, and
optional macOS .dmg) from the Gitea Release API inside a throwaway
Python builder stage and strips the temporary token file before copying
the static output into nginx:1.27-alpine.

HTML, CSS, and JS are kept as standalone static files under site/
with {{PLACEHOLDER}} tokens substituted by generate-static-site.py
alongside generated manifest.json and downloads/SHA256SUMS, allowing
the page layout and styling to be edited independently of the build
script.

Instead of linking to ephemeral CI artifacts on a wiki, package each master release's built binaries into a self-contained Nginx static site container (`gitea.agel.dev/asteria/site:latest` and `:<version>`) via a new `build-site-image` job in Gitea Actions. Because the unprivileged `kaniko-builder` runner has no Node.js runtime for artifact actions, the multi-stage `Dockerfile.site` fetches the just-published `v<version>` release assets (permission-preserving Linux `.AppImage.tar.gz` archives, Windows portable `.zip` packages, and optional macOS `.dmg`) from the Gitea Release API inside a throwaway Python builder stage and strips the temporary token file before copying the static output into `nginx:1.27-alpine`. HTML, CSS, and JS are kept as standalone static files under `site/` with `{{PLACEHOLDER}}` tokens substituted by `generate-static-site.py` alongside generated `manifest.json` and `downloads/SHA256SUMS`, allowing the page layout and styling to be edited independently of the build script.
Agel added 1 commit 2026-11-23 20:11:55 +01:00
ci: build and push static download site Docker image on master
Asteria Qt CI / rebuild-images (linux-arm64) (push) Skipped
Asteria Qt CI / rebuild-images (linux-x86_64) (push) Skipped
Asteria Qt CI / rebuild-images (windows-arm64) (push) Skipped
Asteria Qt CI / rebuild-images (windows-x86_64) (push) Skipped
Asteria Qt CI / build-macos (push) Successful in 10s
Asteria Qt CI / test-macos (push) Successful in 39s
Asteria Qt CI / rebuild-images (linux-arm64) (pull_request) Skipped
Asteria Qt CI / rebuild-images (linux-x86_64) (pull_request) Skipped
Asteria Qt CI / rebuild-images (windows-arm64) (pull_request) Skipped
Asteria Qt CI / rebuild-images (windows-x86_64) (pull_request) Skipped
Asteria Qt CI / build-linux (push) Successful in 1m12s
Asteria Qt CI / build-linux (pull_request) Canceled after 0s
Asteria Qt CI / build-linux-arm64 (pull_request) Canceled after 0s
Asteria Qt CI / build-windows (pull_request) Canceled after 0s
Asteria Qt CI / build-windows-arm64 (pull_request) Canceled after 0s
Asteria Qt CI / build-macos (pull_request) Canceled after 0s
Asteria Qt CI / test-linux (pull_request) Canceled after 0s
Asteria Qt CI / test-macos (pull_request) Canceled after 0s
Asteria Qt CI / package-linux (pull_request) Canceled after 0s
Asteria Qt CI / package-linux-arm64 (pull_request) Canceled after 0s
Asteria Qt CI / package-windows (pull_request) Canceled after 0s
Asteria Qt CI / package-windows-arm64 (pull_request) Canceled after 0s
Asteria Qt CI / package-macos (pull_request) Canceled after 0s
Asteria Qt CI / release (pull_request) Canceled after 0s
Asteria Qt CI / build-site-image (pull_request) Canceled after 0s
Asteria Qt CI / package-windows (push) Successful in 23s
Asteria Qt CI / build-windows-arm64 (push) Successful in 1m29s
Asteria Qt CI / build-windows (push) Successful in 1m29s
Asteria Qt CI / build-linux-arm64 (push) Successful in 1m31s
Asteria Qt CI / package-windows-arm64 (push) Successful in 19s
Asteria Qt CI / package-macos (push) Successful in 56s
Asteria Qt CI / test-linux (push) Successful in 3m20s
Asteria Qt CI / package-linux-arm64 (push) Successful in 17s
Asteria Qt CI / package-linux (push) Successful in 17s
Asteria Qt CI / release (push) Skipped
Asteria Qt CI / build-site-image (push) Skipped
92f773aa8f
Instead of linking to ephemeral CI artifacts on a wiki, package each
master release's built binaries into a self-contained Nginx static site
container (`gitea.agel.dev/asteria/site:latest` and `:<version>`) via a
new `build-site-image` job in Gitea Actions.

Because the unprivileged `kaniko-builder` runner has no Node.js runtime
for artifact actions, the multi-stage `Dockerfile.site` fetches the
just-published `v<version>` release assets (permission-preserving Linux
`.AppImage.tar.gz` archives, Windows portable `.zip` packages, and
optional macOS `.dmg`) from the Gitea Release API inside a throwaway
Python builder stage and strips the temporary token file before copying
the static output into `nginx:1.27-alpine`.

HTML, CSS, and JS are kept as standalone static files under `site/`
with `{{PLACEHOLDER}}` tokens substituted by `generate-static-site.py`
alongside generated `manifest.json` and `downloads/SHA256SUMS`, allowing
the page layout and styling to be edited independently of the build
script.
Agel manually merged commit 92c6a7a193 into master 2026-11-23 20:22:13 +01:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Asteria/asteria-qt#1