diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 429ca56ed..db91c3a92 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -14,6 +14,7 @@ on: jobs: build: runs-on: ubuntu-latest + if: github.event_name != 'pull_request' steps: - name: Checkout uses: actions/checkout@v3.1.0 @@ -28,14 +29,12 @@ jobs: uses: docker/setup-buildx-action@v2.2.1 - name: Login to Docker Hub - if: github.event_name != 'pull_request' uses: docker/login-action@v2.1.0 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - name: BUILD - if: github.event_name != 'pull_request' uses: docker/build-push-action@v3.2.0 with: push: true @@ -55,6 +54,7 @@ jobs: uses: rlespinasse/github-slug-action@v4.3.2 - name: Pull from Cache + if: github.event_name != 'pull_request' run: docker pull squidex/squidex-build - name: BUILD