diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 3b784b9f..df19cecb 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -43,6 +43,7 @@ jobs: docker-master: name: Publish master to GitHub registry runs-on: ubuntu-latest + needs: [ build ] if: github.event_name == 'push' && github.ref == 'refs/heads/master' steps: - name: Checkout repository @@ -76,7 +77,7 @@ jobs: #docker-release: # name: Publish release to GitHub registry # 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]') # steps: # - name: Checkout repository