Target the Windows Docker Desktop runner; raise Node heap now that builds no longer share the Pi with the rest of the homelab. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
ab8223c21a
commit
6424af2b69
1 file changed
+3
-6
+3
-6
@@ -4,9 +4,9 @@ name: build-and-push
|
|||||||
|
|
||||||
platform:
|
platform:
|
||||||
os: linux
|
os: linux
|
||||||
arch: arm64
|
arch: amd64
|
||||||
|
|
||||||
# Use Pi-hole so *.zea.lt resolves to Traefik on the LAN (not public hairpin)
|
# Pi-hole on LAN so *.zea.lt hits Traefik (not public hairpin)
|
||||||
dns:
|
dns:
|
||||||
- 192.168.0.64
|
- 192.168.0.64
|
||||||
|
|
||||||
@@ -30,9 +30,7 @@ steps:
|
|||||||
image: oven/bun:1-alpine
|
image: oven/bun:1-alpine
|
||||||
pull: false
|
pull: false
|
||||||
environment:
|
environment:
|
||||||
# Serialise Angular workers — lower peak RAM, longer build (Pi-friendly)
|
NODE_OPTIONS: "--max-old-space-size=3072"
|
||||||
NG_BUILD_MAX_WORKERS: "1"
|
|
||||||
NODE_OPTIONS: "--max-old-space-size=1536"
|
|
||||||
BUN_INSTALL_CACHE_DIR: /drone-cache/bun
|
BUN_INSTALL_CACHE_DIR: /drone-cache/bun
|
||||||
STRAVA_CLIENT_ID:
|
STRAVA_CLIENT_ID:
|
||||||
from_secret: strava_client_id
|
from_secret: strava_client_id
|
||||||
@@ -68,7 +66,6 @@ steps:
|
|||||||
password:
|
password:
|
||||||
from_secret: registry_password
|
from_secret: registry_password
|
||||||
build_args_from_env: true
|
build_args_from_env: true
|
||||||
# Reuse previous image layers when possible
|
|
||||||
cache_from:
|
cache_from:
|
||||||
- registry.zea.lt/miczek/tracker:latest
|
- registry.zea.lt/miczek/tracker:latest
|
||||||
tags:
|
tags:
|
||||||
|
|||||||
Reference in new issue
Block a user