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:
|
||||
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:
|
||||
- 192.168.0.64
|
||||
|
||||
@@ -30,9 +30,7 @@ steps:
|
||||
image: oven/bun:1-alpine
|
||||
pull: false
|
||||
environment:
|
||||
# Serialise Angular workers — lower peak RAM, longer build (Pi-friendly)
|
||||
NG_BUILD_MAX_WORKERS: "1"
|
||||
NODE_OPTIONS: "--max-old-space-size=1536"
|
||||
NODE_OPTIONS: "--max-old-space-size=3072"
|
||||
BUN_INSTALL_CACHE_DIR: /drone-cache/bun
|
||||
STRAVA_CLIENT_ID:
|
||||
from_secret: strava_client_id
|
||||
@@ -68,7 +66,6 @@ steps:
|
||||
password:
|
||||
from_secret: registry_password
|
||||
build_args_from_env: true
|
||||
# Reuse previous image layers when possible
|
||||
cache_from:
|
||||
- registry.zea.lt/miczek/tracker:latest
|
||||
tags:
|
||||
|
||||
Reference in new issue
Block a user