From 83d66eb440071608f090b1d18027fa08dbe76eb9 Mon Sep 17 00:00:00 2001 From: Avior Date: Sat, 25 Nov 2023 22:23:56 +0000 Subject: [PATCH] Update .github/workflows/build_and_check.yml --- .github/workflows/build_and_check.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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