From be3726846879b39cd945d1bfed0d901fef404056 Mon Sep 17 00:00:00 2001
From: Bulat Saifullin <bulat@saifullin.ru>
Date: Sun, 31 May 2020 19:46:02 +0300
Subject: [PATCH] Update dockerimage.yml

---
 .github/workflows/dockerimage.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/dockerimage.yml b/.github/workflows/dockerimage.yml
index c060f73..3b30057 100644
--- a/.github/workflows/dockerimage.yml
+++ b/.github/workflows/dockerimage.yml
@@ -11,7 +11,10 @@ on:
 
 jobs:
   ubuntu1:
-    if: ${{ github.ref == 'refs/heads/master' || contains(github.ref, "refs/tags/") }}
+    on:
+      push:
+        branches: [ master ]
+        tags: [ '*' ]
     runs-on: ubuntu-latest
     steps:
     - uses: actions/checkout@v2