fix(ci): re-enable docker-build with proper DinD configuration using TCP endpoint
Some checks failed
Lint and Build / lint (push) Successful in 1m32s
Lint and Build / build (push) Successful in 2m1s
Lint and Build / docker-build (push) Failing after 12s

This commit is contained in:
goose 2026-03-12 12:35:43 -03:00
parent 5239932331
commit 3b570e7838

View file

@ -80,3 +80,38 @@ jobs:
- name: Restore integration tests
working-directory: ./backend
run: mv tests.disabled tests
docker-build:
runs-on: docker
container:
image: docker:latest
services:
docker-in-docker:
image: docker:dind
env:
DOCKER_TLS_CERTDIR: ""
env:
DOCKER_HOST: tcp://docker-in-docker:2375
DOCKER_TLS_CERTDIR: ""
DOCKER_DRIVER: overlay2
needs: build
steps:
- name: Install Node.js
run: |
apk add --no-cache nodejs npm
- uses: https://github.com/actions/checkout@v4
- name: Verify Docker connection
run: docker info
- name: Build backend Docker image
run: |
cd backend
docker build -t normogen-backend:latest .
- name: Build frontend Docker image
run: |
cd frontend
docker build -t normogen-frontend:latest .