Skip to content

Commit

Permalink
chore: Publish container image only after the release
Browse files Browse the repository at this point in the history
  • Loading branch information
antonbabenko committed Dec 13, 2021
1 parent 21185f6 commit 59da4b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/build-image.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ on:
workflow_dispatch:
push:
branches:
- main
- master
paths:
- '**/*.py'
- '**/*.sh'
- 'Dockerfile'

jobs:
release:
Expand Down

0 comments on commit 59da4b8

Please sign in to comment.