feat: migrate existing configs (#1)
All checks were successful
CD / Release (push) Successful in 6s

Reviewed-on: #1
Reviewed-by: branch-buddy <branch-buddy@t00n.de>
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 #1.
This commit is contained in:
2025-10-08 18:46:12 +02:00
committed by t.behrendt
parent b96346c43b
commit 82e5e832f8
12 changed files with 179 additions and 2 deletions

View File

@@ -0,0 +1,15 @@
name: Release Git tag
description: Release the Git tag
inputs:
tag:
description: The tag to release
required: true
runs:
using: "composite"
steps:
- shell: bash
run: |
git tag ${{ inputs.tag }}
git push origin ${{ inputs.tag }}

23
.gitea/workflows/cd.yaml Normal file
View File

@@ -0,0 +1,23 @@
name: CD
on:
push:
branches:
- main
jobs:
release:
name: Release
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.1
with:
token: ${{ secrets.GITEA_TOKEN }}
- uses: ./.gitea/actions/release-git-tag
with:
tag: ${{ steps.tag.outputs.new-tag }}

23
.gitea/workflows/ci.yaml Normal file
View File

@@ -0,0 +1,23 @@
name: CI
on:
pull_request:
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
json-file:
- "action.json"
- "k8s.json"
- "helm.json"
- "common.json"
- "docker-compose.json"
steps:
- uses: actions/checkout@v5
- name: Validate "${{ matrix.json-file }}"
uses: https://gitea.t000-n.de/t.behrendt/validate-json-by-json-schema-action@0.1.2
with:
json-file: "./${{ matrix.json-file }}"

View File

@@ -0,0 +1,22 @@
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.1
with:
token: ${{ secrets.GITEA_TOKEN }}
prerelease: true
- uses: ./.gitea/actions/release-git-tag
with:
tag: ${{ steps.tag.outputs.new-tag }}