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:
|
on:
|
||||||
push:
|
workflow_dispatch:
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
release:
|
release:
|
||||||
types:
|
types:
|
||||||
- created
|
- created
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docker:
|
docker:
|
||||||
|
|
|
||||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
|
@ -4,11 +4,11 @@ on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
|
||||||
- master
|
- master
|
||||||
paths:
|
paths:
|
||||||
- '**/*.py'
|
- '**/*.py'
|
||||||
- '**/*.sh'
|
- '**/*.sh'
|
||||||
|
- 'Dockerfile'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue