diff --git a/.github/workflows/build_and_check.yml b/.github/workflows/build_and_check.yml index e875bd7..b3353aa 100644 --- a/.github/workflows/build_and_check.yml +++ b/.github/workflows/build_and_check.yml @@ -2,8 +2,10 @@ name: Build, check & Test on: push: - branches: * - tags: * + branches: + - master + tags: + - v* pull_request: branches: - master @@ -29,7 +31,6 @@ jobs: type=semver,pattern=latest - name: Login to Docker Hub - if: github.event_name != 'pull_request' uses: docker/login-action@v3 with: registry: git.dzeio.com @@ -43,7 +44,6 @@ jobs: uses: docker/build-push-action@v5 with: context: . - push: ${{ github.event_name != 'pull_request' }} file: ./Dockerfile.static tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} \ No newline at end of file