From 92ad0bc1dc3f33bc2508b7964d854636936205a1 Mon Sep 17 00:00:00 2001 From: Bulat Saifullin Date: Sun, 31 May 2020 19:52:10 +0300 Subject: [PATCH] Update dockerimage.yml --- .github/workflows/dockerimage.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/dockerimage.yml b/.github/workflows/dockerimage.yml index 3b30057..5d6610c 100644 --- a/.github/workflows/dockerimage.yml +++ b/.github/workflows/dockerimage.yml @@ -11,10 +11,7 @@ on: jobs: ubuntu1: - on: - push: - branches: [ master ] - tags: [ '*' ] + if: ${{ github.ref == 'refs/heads/master' || github.ref ~= '/refs\/tags/.*/' }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v2