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: docker:
needs: install needs: install
runs-on: ubuntu-20.04 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: steps:
- uses: actions/checkout@v2.4.0 - uses: actions/checkout@v2.4.0