diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-13 12:59:55 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-13 12:59:55 +0300 |
commit | 218d33297fc0721525e4b78fc18ed579e638dd6a (patch) | |
tree | 9239035265a8f3e38f2b0dc1efd8cd8756b1dd54 /.github | |
parent | workflows/test: add job for publishing to PyPI (diff) | |
download | cgitize-218d33297fc0721525e4b78fc18ed579e638dd6a.tar.gz cgitize-218d33297fc0721525e4b78fc18ed579e638dd6a.zip |
workflows/test: publish to Docker on tags also
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/test.yml | 2 |
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 |