mirror of
https://github.com/tofuutils/pre-commit-opentofu.git
synced 2025-10-15 17:38:54 +02:00
chore: Publish container image only after the release
This commit is contained in:
parent
21185f6db4
commit
59da4b81d6
2 changed files with 3 additions and 7 deletions
8
.github/workflows/build-image.yaml
vendored
8
.github/workflows/build-image.yaml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
|
@ -4,11 +4,11 @@ on:
|
|||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
paths:
|
||||
- '**/*.py'
|
||||
- '**/*.sh'
|
||||
- 'Dockerfile'
|
||||
|
||||
jobs:
|
||||
release:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue