From 6248ad1c963fc27e7334e4121068ae75ab94f4d9 Mon Sep 17 00:00:00 2001 From: kl3inIT Date: Wed, 29 Jul 2026 03:50:06 +0700 Subject: [PATCH] fix web image workspace patch inputs --- .github/workflows/build-images.yml | 3 +++ .github/workflows/ci.yml | 8 ++++++++ apps/web/Dockerfile | 1 + 3 files changed, 12 insertions(+) diff --git a/.github/workflows/build-images.yml b/.github/workflows/build-images.yml index c1f0462..28a6077 100644 --- a/.github/workflows/build-images.yml +++ b/.github/workflows/build-images.yml @@ -130,8 +130,11 @@ jobs: web: - ".dockerignore" - ".github/workflows/build-images.yml" + - "apps/cli/package.json" + - "apps/docs/package.json" - "contracts/**" - "package.json" + - "patches/**" - "pnpm-lock.yaml" - "pnpm-workspace.yaml" - "apps/web/**" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1dad337..8cdec8f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -127,6 +127,7 @@ jobs: - "infrastructure/images/**" - "infrastructure/keycloak/**" - "infrastructure/postgres-rag/**" + - "patches/**" - "apps/web/Dockerfile" - "apps/web/nginx.conf" - "apps/docs/Dockerfile" @@ -542,6 +543,13 @@ jobs: docker buildx build --check --file infrastructure/keycloak/Dockerfile . docker buildx build --check --file infrastructure/postgres-rag/Dockerfile . + - name: Build web Docker dependency contract + run: >- + docker buildx build + --file apps/web/Dockerfile + --target build + . + - name: Test web forwarded-port handling run: infrastructure/deployment/scripts/test-web-forwarded-port.sh diff --git a/apps/web/Dockerfile b/apps/web/Dockerfile index edc6986..0cf51f4 100644 --- a/apps/web/Dockerfile +++ b/apps/web/Dockerfile @@ -7,6 +7,7 @@ WORKDIR /workspace RUN corepack enable COPY package.json pnpm-workspace.yaml pnpm-lock.yaml ./ +COPY patches patches COPY apps/cli/package.json apps/cli/package.json COPY apps/web/package.json apps/web/package.json COPY apps/docs/package.json apps/docs/package.json