ci: add prerelease (#6)
CD / Release (push) Successful in 6s

Reviewed-on: t.behrendt/trivy-actions#6
Co-authored-by: Timo Behrendt <t.behrendt@t00n.de>
Co-committed-by: Timo Behrendt <t.behrendt@t00n.de>
This commit was merged in pull request #6.
This commit is contained in:
2025-10-13 20:51:07 +02:00
committed by t.behrendt
parent 4c95e4c163
commit 4d7f65bf41
2 changed files with 28 additions and 5 deletions
+5 -5
View File
@@ -14,11 +14,11 @@ jobs:
with:
fetch-depth: 0
- name: Increment tag
id: increment-tag
uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@0.0.10
id: tag
uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@0.1.2
with:
token: ${{ secrets.GITEA_TOKEN }}
- name: Push tag
run: |
git tag ${{ steps.increment-tag.outputs.new-tag }}
git push origin ${{ steps.increment-tag.outputs.new-tag }}
uses: https://gitea.t000-n.de/t.behrendt/actions/release-git-tag@0.0.1
with:
tag: ${{ steps.tag.outputs.new-tag }}
+23
View File
@@ -0,0 +1,23 @@
name: Prerelease
on:
workflow_dispatch:
jobs:
prerelease:
name: Prerelease
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Increment tag
id: tag
uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@0.1.2
with:
token: ${{ secrets.GITEA_TOKEN }}
prerelease: true
- name: Push tag
uses: https://gitea.t000-n.de/t.behrendt/actions/release-git-tag@0.0.1
with:
tag: ${{ steps.tag.outputs.new-tag }}