helmd: inbäddad webbklient (vanilla SPA) + Docker-image för Pi5 (LAN-only)
- web/: token-login, sessionslista, ANSI-skärmvy (SSE+poll), promptfält, frågekort, tangentrad, delningsflik (bild/HTML-sandbox/markdown), inställningar - go:embed via webfs.go — servern förblir en enda binär, strikt CSP - browser-verifierad mot riktig agy (fråga -> kort -> svar -> kört) - Dockerfile (alpine + tmux/bash) + helmd-image.yaml -> localhost:5000/helmd - integrationstest utökat till 29 gröna Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
32
.gitea/workflows/helmd-image.yaml
Normal file
32
.gitea/workflows/helmd-image.yaml
Normal file
@@ -0,0 +1,32 @@
|
||||
name: helmd-image
|
||||
|
||||
# Bygger helmd-imagen (arm64, nativt på Pi-runnern) och pushar till den
|
||||
# lokala registryn. Deployas som stack "helmd" i Dockge (LAN-only,
|
||||
# ingen NPM-vhost).
|
||||
on:
|
||||
push:
|
||||
branches: [master, main]
|
||||
paths:
|
||||
- "helmd/**"
|
||||
- ".gitea/workflows/helmd-image.yaml"
|
||||
workflow_dispatch: {}
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Build image
|
||||
run: |
|
||||
docker build \
|
||||
--build-arg "VERSION=latest-${GITHUB_SHA::7}" \
|
||||
-t localhost:5000/helmd:latest \
|
||||
-t "localhost:5000/helmd:${GITHUB_SHA::12}" \
|
||||
helmd/
|
||||
|
||||
- name: Push image
|
||||
run: |
|
||||
docker push localhost:5000/helmd:latest
|
||||
docker push "localhost:5000/helmd:${GITHUB_SHA::12}"
|
||||
Reference in New Issue
Block a user