Compare commits

...

8 Commits

Author SHA1 Message Date
gitea-ci
02c2479f25 ci: update image tag to 2a5d122e 2026-07-21 15:16:40 +00:00
test
2a5d122e07 ci: verify workflow
All checks were successful
Build & Deploy / build (push) Successful in 6s
2026-07-21 23:16:19 +08:00
gitea-ci
1c9e74ee58 ci: update image tag to e124cb25 2026-07-21 15:08:27 +00:00
test
e124cb2568 ci: verify pipeline v2
All checks were successful
Build & Deploy / build (push) Successful in 5s
2026-07-21 23:08:14 +08:00
gitea-ci
51909c5d88 ci: update image tag to 3668141b 2026-07-21 15:02:53 +00:00
test
3668141b52 ci: switch registry to external harbor
All checks were successful
Build & Deploy / build (push) Successful in 9s
2026-07-21 23:02:41 +08:00
gitea-ci
acdac178ab ci: update image tag to 36c8dce3 2026-07-21 14:52:48 +00:00
test
36c8dce349 ci: migrate to external gitea and harbor
All checks were successful
Build & Deploy / build (push) Successful in 39s
2026-07-21 22:51:07 +08:00
3 changed files with 8 additions and 5 deletions

View File

@@ -5,7 +5,7 @@ on:
branches: [main]
env:
REGISTRY: harbor-harbor-registry.harbor.svc:5000/library
REGISTRY: harbor.cjjhc.top/library
jobs:
build:
@@ -22,7 +22,7 @@ jobs:
rm -rf "$WORK"
mkdir -p "$WORK"
cd "$WORK"
git clone http://huchan:CJJhc%401314...@gitea-gitea.cicd.svc.cluster.local:3000/huchan/demo-frontend.git .
git clone https://joe:${GITEA_TOKEN}@git.cjjhc.top/joe/demo-frontend.git .
SHORT_SHA=${GITHUB_SHA::8}
cat > package.json <<EOF
@@ -40,6 +40,7 @@ jobs:
HEALTHCHECK --interval=30s --timeout=3s CMD wget -q -O- http://localhost/healthz || exit 1
EOF
env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
GITHUB_SHA: ${{ github.sha }}
- name: Build frontend
@@ -51,7 +52,7 @@ jobs:
GITHUB_SHA: ${{ github.sha }}
- name: Login to Harbor
run: docker login $REGISTRY -u harbor_registry_user -p "$HARBOR_PASSWORD"
run: docker login $REGISTRY -u admin -p "$HARBOR_PASSWORD"
env:
HARBOR_PASSWORD: ${{ secrets.HARBOR_PASSWORD }}

View File

@@ -8,3 +8,5 @@ test-Sun Jul 19 20:32:40 CST 2026
test3-Sun Jul 19 20:54:42 CST 2026
test5-Sun Jul 19 21:35:44 CST 2026
test-Mon Jul 20 23:56:01 CST 2026
ci-verify2-2026年 7月21日 星期二 23时08分14秒 CST
verify-2026年 7月21日 星期二 23时16分19秒 CST

View File

@@ -1,8 +1,8 @@
# Default values
image:
registry: 192.168.1.212:1180/library
registry: harbor.cjjhc.top/library
name: demo-frontend
tag: "53deee53"
tag: "2a5d122e"
pullPolicy: Always
replicaCount: 2