aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-04-13 12:59:55 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-04-13 12:59:55 +0300
commit218d33297fc0721525e4b78fc18ed579e638dd6a (patch)
tree9239035265a8f3e38f2b0dc1efd8cd8756b1dd54 /.github
parentworkflows/test: add job for publishing to PyPI (diff)
downloadcgitize-218d33297fc0721525e4b78fc18ed579e638dd6a.tar.gz
cgitize-218d33297fc0721525e4b78fc18ed579e638dd6a.zip
workflows/test: publish to Docker on tags also
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/test.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 49a1c51..f4ea641 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -39,7 +39,7 @@ jobs:
needs: [test_local, test_docker]
runs-on: ubuntu-18.04
name: 'Publish: Docker Hub'
- if: github.ref == 'refs/heads/master'
+ if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags'))
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v1