Commit Graph
65 Commits
Author SHA1 Message Date
ahmza 3c5678f8a8 Run Hugo natively in build stage to skip QEMU emulation
Build Hugo / build (push) Successful in 6m31s
Build Hugo / deploy (push) Failing after 24s
Pin the build stage to $BUILDPLATFORM so Hugo runs once on the native
arch instead of once per target arch under QEMU. Hugo output is static
HTML and identical across arches, so the emulated arm64 Hugo run (~59s
vs ~12s native) plus emulated base-image extraction were pure waste.
The runtime stage stays on TARGETPLATFORM, so multi-arch amd64+arm64
images are still produced.
2026-08-03 15:40:22 +00:00
ahmza 898e3003a2 Switch static server from nginx to static-web-server
Replace nginx:alpine-slim with the scratch-based static-web-server
image, reducing the final image size ~32MB -> ~23MB (28% smaller).

- Dockerfile: serve from static-web-server:2, copy site to /public
- sws.toml: mirror previous nginx behavior (compression, cache-control,
  SPA index fallback) plus security headers and /health endpoint
- Remove now-unused nginx.conf
2026-07-25 01:04:17 +01:00
ahmza e9bcafb64b Update Dockerfile
Build Hugo / build (push) Failing after 47s
Build Hugo / deploy-to-rpic (push) Has been skipped
Build Hugo / deploy-to-gimli-blog (push) Has been skipped
2026-03-06 00:36:04 +00:00
ahmza eaedda36c5 ls was for development, no longer needed 2025-03-11 07:39:18 +00:00
ahmza adf127f593 removed ARG from dockerfile 2024-11-26 02:37:47 +00:00
Hamza Ahmed 0eded39869 fixing github action 2024-11-16 20:21:18 +00:00
Hamza Ahmed fdd2bd49c5 fixing github action 2024-11-16 20:12:39 +00:00
Hamza Ahmed 7ddb01ce95 fixing github action 2024-11-16 20:03:11 +00:00
ahmza 9ed0a4cbd9 Correct hugo bin downloaded per arch 2024-08-03 20:20:42 +00:00
Hamza Ahmed e297432697 changed to arm hugo image 2024-08-03 21:07:57 +01:00
Hamza Ahmed 4d41ecb4b5 changed to amd64 hugo image 2024-08-03 21:02:51 +01:00
ahmza a4b8c2210f problem was on self hosted runner
slef hosted runner on dev.ahmza.com was not properly configured with
qemu to build multi arch images. Should work now
2024-07-16 23:41:56 +01:00
ahmza e628dbb14c added gcc build requirement 2024-07-16 19:56:33 +01:00
ahmza cdfaf04e6d from git submodule to hugo module
Hugo module for the theme blowfish is a lot lighter compared to the git
repo
2024-07-16 19:51:01 +01:00
ahmza 55888d656c move to private repo 2024-06-21 23:35:24 +01:00
Hamza Ahmed 416a99f810 Updated docker file to use hugo 0.121.1 and updated compose file to use
gitlab instead of nonexistent docker registry
2024-01-04 19:38:50 +00:00
Hamza Ahmed bde3a4f448 Added --gc to build flag 2023-12-28 08:08:55 +00:00
Hamza Ahmed 16cd6b2225 fixed dodgy Dockerfile and cleaned up .gitlab-ci.yml 2023-11-16 19:28:47 +00:00
Hamza Ahmed d112021b62 removed tinacms, more headache then its worth. Easier to manually create files xD 2023-11-16 19:25:04 +00:00
Hamza Ahmed 0d3ec874f7 trying to fix tina vars 2023-11-16 16:51:40 +00:00
Hamza Ahmed 9bc4d01291 trying to fix tina vars 2023-11-16 16:43:57 +00:00
Hamza Ahmed 867985be61 Updated product page, trying to fix tina vars 2023-11-16 16:36:44 +00:00
Hamza Ahmed bf80329487 fixing tina 2023-11-10 23:26:13 +00:00
Hamza Ahmed 8bfb34701f fixing tina 2023-11-10 23:24:28 +00:00
Hamza Ahmed e9c273d17c fixing tina 2023-11-10 23:15:51 +00:00
Hamza Ahmed 7774894789 fixing tina 2023-11-10 23:12:58 +00:00
Hamza Ahmed 87fbcc8315 fixing tina 2023-11-10 23:10:12 +00:00
Hamza Ahmed eefa66f2d7 fixing tina 2023-11-10 22:52:56 +00:00
Hamza Ahmed 21d282e2de fixing tina 2023-11-10 22:51:58 +00:00
Hamza Ahmed dd6fb0fb0b fixing tina 2023-11-10 22:49:08 +00:00
Hamza Ahmed fcf1b48fd3 troubleshooting tina 2023-11-10 22:27:28 +00:00
Hamza Ahmed 90bf06d7d6 troubleshooting tina 2023-11-10 22:19:04 +00:00
Hamza Ahmed 3a3d9e129b troubleshooting tina 2023-11-10 22:16:18 +00:00
Hamza Ahmed 11b7a6ebef troubleshooting tina 2023-11-10 21:55:29 +00:00
Hamza Ahmed a79bd1d4a6 troubleshooting tina 2023-11-10 21:46:24 +00:00
Hamza Ahmed 8f7c4d9dc0 troubleshooting tina 2023-11-10 21:45:20 +00:00
Hamza Ahmed 22e05407cf changed so were not building twice 2023-11-10 21:37:13 +00:00
Hamza Ahmed 3c896388f8 changed so were not building twice 2023-11-10 21:32:12 +00:00
Hamza Ahmed 37777ea0fc testing tina token 2023-11-10 21:29:22 +00:00
Hamza Ahmed 172707a34e testing tina token 2023-11-10 21:24:35 +00:00
Hamza Ahmed ffaf9e59f8 testing tina token 2023-11-10 21:20:15 +00:00
Hamza Ahmed b804c62593 Updated TINA token 2023-11-10 21:18:01 +00:00
Hamza Ahmed 5ce258a868 added contact page 2023-06-21 15:31:02 +01:00
Hamza Ahmed b0b8575c71 Updated Dockerfile to use current latest Hugo ver: v0.109.0 2022-12-29 11:19:28 +00:00
AHMZA 68aa134ac4 updated documentation 2022-05-30 18:38:51 +01:00
AHMZA ea2b02e357 trying a different method of building 2022-02-23 22:09:56 +00:00
Hamza Ahmed d93d7fd0f6 Update Dockerfile 2021-12-09 17:07:07 +00:00
Hamza Ahmed cd70bdb4eb Update Dockerfile 2021-12-09 17:04:24 +00:00
Hamza Ahmed 5faad737c2 Update Dockerfile 2021-12-09 17:02:15 +00:00
Hamza Ahmed 4b017a1e44 Update Dockerfile 2021-12-09 16:59:19 +00:00