feat: explicit clone main branch #199
This file contains 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: Test Docker Build | |
on: | |
push: | |
branches: | |
- '**' # Trigger on any branch | |
pull_request: | |
branches: | |
- dev # Trigger only on pull requests to the dev branch | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build the Docker image | |
run: docker build . -f Dockerfile |