name: docker-build on: pull_request: branches: [main] paths: - "twake/docker/**" jobs: build-nginx: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - run: cd twake && docker build -t twaketech/twake-nginx -f docker/twake-nginx/Dockerfile . build-php: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - run: cd twake && docker build -t twaketech/twake-php -f docker/twake-php/Dockerfile . build-node: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - run: cd twake && docker build --target production -t twaketech/twake-node -f docker/twake-node/Dockerfile .