Support subpath
All checks were successful
CI / Backend tests (push) Successful in 30s
CI / Frontend lint (push) Successful in 33s
CI / Frontend build (push) Successful in 25s
CI / Frontend unit tests (push) Successful in 1m6s
CI / Playwright e2e (push) Successful in 1m43s
Docker / build-and-push (push) Successful in 2m30s

This commit is contained in:
Andras Schmelczer 2026-05-31 20:27:41 +01:00
parent 006ae81c3b
commit a48aad974a
6 changed files with 50 additions and 9 deletions

View file

@ -69,6 +69,11 @@ jobs:
with:
context: .
push: true
# The published image is deployed at https://schmelczer.dev/towers/,
# so the SPA is built with that sub-path baked into <base href> and
# the service-worker manifest. Change this if the deploy path changes.
build-args: |
BASE_HREF=/towers/
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=registry,ref=${{ steps.registry.outputs.image }}:buildcache