## 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 }} ```