so, mal sehn
Some checks failed
Bump Version (via reusable workflow) / bump-version (push) Failing after 0s

This commit is contained in:
2026-01-17 15:50:37 +01:00
commit 374f421732
7 changed files with 432 additions and 0 deletions

53
README.md Normal file
View File

@@ -0,0 +1,53 @@
## Reusable Workflows
This repo provides reusable Gitea Actions workflows that can be referenced with `uses:`.
### Bump Version
Example:
```yaml
jobs:
bump-version:
uses: tanztee/ci-cd/.github/workflows/bump-version.yaml@main
secrets:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
```
### Build and Push Docker Image
Example:
```yaml
jobs:
build-and-push:
uses: tanztee/ci-cd/.github/workflows/build-and-push.yml@main
secrets:
REGISTRY: ${{ secrets.REGISTRY }}
REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
```
### Deploy Image to Kubernetes
Example:
```yaml
on:
workflow_dispatch:
inputs:
tag:
description: Image tag to deploy (e.g. v1.2.3)
required: true
type: string
jobs:
deploy:
uses: tanztee/ci-cd/.github/workflows/deploy-k8s.yml@main
with:
tag: ${{ inputs.tag }}
namespace: oumta-dev
secrets:
KUBECONFIG: ${{ secrets.KUBECONFIG }}
REGISTRY: ${{ secrets.REGISTRY }}
```