diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..3a1ea1f --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,13 @@ +name: Build Docker Image on PR + +on: + pull_request: + branches: [ "main" ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Build the Docker image + run: docker build . --file Dockerfile --tag portnote:$(date +%s) \ No newline at end of file