Merge pull request #339 from bg-playground/dependabot/pip/backend/pyt… #64
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Docker Build | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - 'backend/**' | |
| - 'frontend/**' | |
| - 'docker-compose.yml' | |
| - 'Dockerfile*' | |
| - '.github/workflows/docker.yml' | |
| jobs: | |
| build: | |
| name: Build Docker Images | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Build backend Docker image | |
| run: docker build ./backend | |
| - name: Build frontend Docker image | |
| run: docker build ./frontend |