so, mal sehn
Some checks failed
Bump Version (via reusable workflow) / bump-version (push) Failing after 0s
Some checks failed
Bump Version (via reusable workflow) / bump-version (push) Failing after 0s
This commit is contained in:
53
README.md
Normal file
53
README.md
Normal 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 }}
|
||||
```
|
||||
Reference in New Issue
Block a user