Compare commits

...

3 Commits

Author SHA1 Message Date
e98b619fb1
ci: 更新镜像同步工作流
- 移除了原有的 Gitea Sync 工作流
- 新增了 Mirroring 工作流,用于同步代码到 GitLab
- 使用 yesolutions/mirror-action 实现镜像同步
- 配置了远程仓库地址和认证信息
2025-01-20 12:00:13 +08:00
267e3857d0
add Gitea sync workflow 2025-01-20 10:04:31 +08:00
e6d349f344
add lable app 2025-01-20 10:02:49 +08:00
2 changed files with 21 additions and 1 deletions

16
.github/workflows/mirror.yaml vendored Normal file
View File

@ -0,0 +1,16 @@
name: Mirroring
on: [ push, delete ]
jobs:
to_gitlab:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: yesolutions/mirror-action@master
with:
REMOTE: 'https://git.suyiiyii.top/ssyg/hertz101.git'
GIT_USERNAME: suyiiyii
GIT_PASSWORD: ${{ secrets.GITEATOKEN }}

View File

@ -2,13 +2,17 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: consul
labels:
app: consul
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: consul
app: consul
template:
metadata:
labels:
app: consul
spec:
containers:
- image: hashicorp/consul:1.20