Update workflow.yml

This commit is contained in:
linguist
2020-12-31 21:49:59 +01:00
parent 366c4d9026
commit 93839c6285

View File

@@ -43,6 +43,7 @@ jobs:
docker-master: docker-master:
name: Publish master to GitHub registry name: Publish master to GitHub registry
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [ build ]
if: github.event_name == 'push' && github.ref == 'refs/heads/master' if: github.event_name == 'push' && github.ref == 'refs/heads/master'
steps: steps:
- name: Checkout repository - name: Checkout repository
@@ -76,7 +77,7 @@ jobs:
#docker-release: #docker-release:
# name: Publish release to GitHub registry # name: Publish release to GitHub registry
# runs-on: ubuntu-latest # runs-on: ubuntu-latest
# needs: [ action-master-test ] # needs: [ build, analyze, action-master-test ]
# if: github.event_name == 'push' && github.ref == 'refs/heads/master' && contains(github.event.head_commit.message, '[release]') # if: github.event_name == 'push' && github.ref == 'refs/heads/master' && contains(github.event.head_commit.message, '[release]')
# steps: # steps:
# - name: Checkout repository # - name: Checkout repository