when: - event: [push, manual] branch: main steps: - name: build-api image: docker:24-dind commands: - docker build -t registry.mcrn.ar/unt/api:latest -f ctrl/Dockerfile.api . volumes: - /var/run/docker.sock:/var/run/docker.sock - name: build-ui image: docker:24-dind commands: - docker build -t registry.mcrn.ar/unt/ui:latest -f ctrl/Dockerfile.ui . volumes: - /var/run/docker.sock:/var/run/docker.sock