refactor: update build process to create a single all-in-one Docker image and adjust related configurations
Some checks failed
CI / Frontend Tests (pull_request) Has been cancelled
CI / Backend Tests (pull_request) Has been cancelled

This commit is contained in:
2026-03-27 16:10:14 -03:00
parent 3f0bb4be73
commit 6305a8e95e
6 changed files with 42 additions and 64 deletions

View File

@@ -1,4 +1,4 @@
name: Build Production Images
name: Build Production Image
on:
pull_request_review:
@@ -6,7 +6,7 @@ on:
jobs:
build:
name: Build Production Images
name: Build Production Image
if: github.event.review.state == 'approved' && github.event.pull_request.base.ref == 'main'
runs-on: ubuntu-latest
steps:
@@ -18,8 +18,5 @@ jobs:
- name: Verify Docker CLI
run: docker version
- name: Build backend image
run: docker build -t condado-newsletter-backend:latest -f backend/Dockerfile ./backend
- name: Build frontend image
run: docker build -t condado-newsletter-frontend:latest -f frontend/Dockerfile ./frontend
- name: Build all-in-one image
run: docker build -t condado-newsletter:latest -f Dockerfile.allinone .