Publish docker image on pushing to master

This commit is contained in:
Haishan 2022-03-04 16:42:35 +08:00 committed by Haishan
parent 95afc454d5
commit ca943f1978

View file

@ -86,7 +86,7 @@ jobs:
docker:
needs: install
runs-on: ubuntu-20.04
if: github.event_name == 'push' && (startsWith(github.event.ref, 'refs/tags/') || startsWith(github.event.ref, 'refs/heads/v0.'))
if: github.event_name == 'push' && (startsWith(github.event.ref, 'refs/tags/') || startsWith(github.event.ref, 'refs/heads/v0.') || github.event.ref == 'refs/heads/master')
steps:
- uses: actions/checkout@v2.4.0