Commit Graph

17 Commits

Author SHA1 Message Date
tas
f7c498d7ad Update .gitea/workflows/deploy.yaml 2026-03-16 15:07:57 +00:00
tas
69614f058c Update .gitea/workflows/deploy.yaml 2026-03-16 13:29:08 +00:00
tas
cc582e1f0e Update .gitea/workflows/deploy.yaml 2026-03-16 13:26:28 +00:00
c44ace5804 Debug container registry auth: test v2 and token endpoints
Revert to git.kimchi, add curl diagnostics to understand why
auth fails even after login succeeds.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 13:21:33 +00:00
ec63ce6701 Use external hostname for container registry push
The Gitea container registry token service scopes tokens to ROOT_URL
(git.schick-web.site). Pushing to the internal hostname (git.kimchi)
causes auth failures because the token domain doesn't match.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 13:08:11 +00:00
767d821534 Pass credentials directly to buildah push via --creds
buildah login succeeds but push doesn't pick up the stored auth.
Skip login and pass --creds directly to each push command instead.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 12:17:55 +00:00
59b6728ce8 Add debug output to identify which buildah command hangs
Remove unnecessary registries.conf write (host already has it).
Add set -ex and echo markers between commands to pinpoint the hang.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 11:33:37 +00:00
4e3e17ced4 Use v2 TOML format for registries.conf
Match the format already used on the runner host.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 11:31:54 +00:00
bb23f2e3a1 Add insecure registry config for buildah
--tls-verify=false on login/push alone was not sufficient to prevent
the deploy from hanging. Register git.kimchi as an insecure registry
via registries.conf and add --tls-verify=false to buildah bud as well.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 11:31:01 +00:00
ec4bc9bb82 Add --tls-verify=false to buildah steps 2026-03-16 11:05:08 +00:00
tas
4bef8f37b4 Update .gitea/workflows/deploy.yaml 2026-03-15 17:50:59 +00:00
tas
7d0e134a56 Update .gitea/workflows/deploy.yaml 2026-03-15 17:25:26 +00:00
tas
198f639289 Update .gitea/workflows/deploy.yaml 2026-03-15 17:25:11 +00:00
tas
f71d140af3 Install buildah in deploy workflow 2026-03-15 17:15:49 +00:00
tas
651ac7703f use buildah for build 2026-03-15 16:56:18 +00:00
587fd210a2 Fix #13: optimize deploy with multi-stage Containerfile
Move the WASM build into a multi-stage Containerfile so the emscripten
compilation happens inside the Docker build. This eliminates the separate
container action step, enables Docker layer caching for faster rebuilds,
and makes the Containerfile self-contained.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-15 14:47:56 +00:00
68856fb8c5 add deploy action 2026-03-14 19:54:21 +00:00