Merge branch 'main' of https://git.0orz.top/Zpekii/go-example
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1m32s

This commit is contained in:
2026-01-24 15:07:19 +08:00
4 changed files with 10228 additions and 1 deletions

View File

@@ -53,7 +53,7 @@ jobs:
- name: Push Docker image to local registry
run: |
docker push localhost:8180/go-example/go-example:${{ gitea.sha }}
- name: Update manifest and Push to Git
- name: Update manifest and Push to Git
run: |
# 使用 kustomize 或 sed 修改镜像版本
sed -i "s|image: .*:.*|image: localhost:8180/go-example/go-example:${{ gitea.sha }}|g" deployment.yaml

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,27 @@
# This manifest was generated by flux. DO NOT EDIT.
---
apiVersion: source.toolkit.fluxcd.io/v1
kind: GitRepository
metadata:
name: flux-system
namespace: flux-system
spec:
interval: 1m0s
ref:
branch: main
secretRef:
name: flux-system
url: https://git.0orz.top/Zpekii/go-example.git
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: flux-system
namespace: flux-system
spec:
interval: 10m0s
path: ./
prune: true
sourceRef:
kind: GitRepository
name: flux-system

View File

@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- gotk-components.yaml
- gotk-sync.yaml