fix: set build_context to backend/ and frontend/ subdirectories
All checks were successful
Build containers when image tags change / build-if-image-changed (backend, shorefront-backend, shorefront backend, backend/Dockerfile, git.baumann.gr/adebaumann/shorefront-backend, .backend.image) (push) Successful in 1m20s
Build containers when image tags change / build-if-image-changed (frontend, shorefront-frontend, shorefront frontend, frontend/Dockerfile, git.baumann.gr/adebaumann/shorefront-frontend, .frontend.image) (push) Successful in 1m25s
All checks were successful
Build containers when image tags change / build-if-image-changed (backend, shorefront-backend, shorefront backend, backend/Dockerfile, git.baumann.gr/adebaumann/shorefront-backend, .backend.image) (push) Successful in 1m20s
Build containers when image tags change / build-if-image-changed (frontend, shorefront-frontend, shorefront frontend, frontend/Dockerfile, git.baumann.gr/adebaumann/shorefront-frontend, .frontend.image) (push) Successful in 1m25s
Dockerfiles use COPY requirements.txt . and COPY package*.json ./ which expect the build context to be their own subdirectory, not the repo root. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -21,13 +21,13 @@ jobs:
|
|||||||
image_yq_path: .frontend.image
|
image_yq_path: .frontend.image
|
||||||
expected_repo: git.baumann.gr/adebaumann/shorefront-frontend
|
expected_repo: git.baumann.gr/adebaumann/shorefront-frontend
|
||||||
dockerfile: frontend/Dockerfile
|
dockerfile: frontend/Dockerfile
|
||||||
build_context: .
|
build_context: frontend
|
||||||
description: shorefront frontend
|
description: shorefront frontend
|
||||||
- container_name: shorefront-backend
|
- container_name: shorefront-backend
|
||||||
image_yq_path: .backend.image
|
image_yq_path: .backend.image
|
||||||
expected_repo: git.baumann.gr/adebaumann/shorefront-backend
|
expected_repo: git.baumann.gr/adebaumann/shorefront-backend
|
||||||
dockerfile: backend/Dockerfile
|
dockerfile: backend/Dockerfile
|
||||||
build_context: .
|
build_context: backend
|
||||||
description: shorefront backend
|
description: shorefront backend
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user