chore: Publish container image only after the release

This commit is contained in:
Anton Babenko 2021-12-13 10:58:27 +01:00
commit 59da4b81d6
2 changed files with 3 additions and 7 deletions

View file

@ -1,14 +1,10 @@
---
name: publish container image
name: Publish container image
on:
push:
branches:
- master
workflow_dispatch:
release:
types:
- created
workflow_dispatch:
jobs:
docker:

View file

@ -4,11 +4,11 @@ on:
workflow_dispatch:
push:
branches:
- main
- master
paths:
- '**/*.py'
- '**/*.sh'
- 'Dockerfile'
jobs:
release: