No description
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| README.md | ||
1li homelab
Overview
- action
- actions/forgejo-docker-build.push 自動建構並上傳 docker image
- actions/forgejo-k8s-image-pr 上傳 docker image 後自動更新 k8s manifests
- ansible ansible 設定,用來 apply 通用設定,荒廢中
- docs 各種文件
- k8s 含有
apply.sh的 k8s manifests 集合 - tlsask 給 caddy on demand tls 可以知道 k8s 裡面現在有什麼 domain
Workflows
以下是範例 workflows,用於建構 docker image、上傳、更新 k8s manifests
.forgejo/workflows/build.yaml
name: Build and publish imageon: push: tags: - "v*.."
concurrency: group: publish-tlsask-k8s cancel-in-progress: false
jobs: build-and-push: runs-on: docker-build
steps: - name: Check out repository uses: actions/checkout@v6 - name: Build and push id: image uses: https://git.1li.tw/actions/[email protected] with: username: ${{ vars.REGISTRY_USERNAME }} pat: ${{ secrets.REGISTRY_TOKEN }} - name: Propose Kubernetes update id: manifest uses: https://git.1li.tw/actions/[email protected] with: token: ${{ secrets.K8S_PR_TOKEN }} repository: 1li/k8s base-branch: main manifest: apps/firebot.yaml namespace: default workload: firebot container: firebot image-ref: ${{ steps.image.outputs.image-ref }}