Files
condado-newsletter/.gitea/workflows/build.yml
Gabriel Sancho 6305a8e95e
Some checks failed
CI / Frontend Tests (pull_request) Has been cancelled
CI / Backend Tests (pull_request) Has been cancelled
refactor: update build process to create a single all-in-one Docker image and adjust related configurations
2026-03-27 16:10:14 -03:00

22 lines
592 B
YAML

name: Build Production Image
on:
pull_request_review:
types: [submitted]
jobs:
build:
name: Build Production Image
if: github.event.review.state == 'approved' && github.event.pull_request.base.ref == 'main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
github-server-url: http://gitea.lab
ref: ${{ github.event.pull_request.head.sha }}
- name: Verify Docker CLI
run: docker version
- name: Build all-in-one image
run: docker build -t condado-newsletter:latest -f Dockerfile.allinone .