Compare commits

..

17 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
test
9ef3ec16b3 ci: trigger to test harbor
Some checks failed
Build & Deploy / build (push) Has been cancelled
2026-07-21 13:41:59 +08:00
test
dec27f8115 ci: use registry user 2026-07-21 00:41:36 +08:00
test
da08178d8b ci: re-trigger with registry user password 2026-07-21 00:38:47 +08:00
test
b0c7c25970 ci: re-trigger with new harbor secret 2026-07-21 00:35:00 +08:00
test
6bea24b757 ci: re-trigger 2026-07-21 00:31:36 +08:00
test
5d3f1ef48b ci: use registry:5000 for harbor 2026-07-21 00:28:41 +08:00
test
a1f548c0dc ci: use cluster-internal gitea and harbor 2026-07-21 00:25:50 +08:00
test
7648507c8c ci: add set -ex for debug 2026-07-21 00:23:27 +08:00
test
d5e77ae24e ci: update to cluster gitea + trivy scan 2026-07-21 00:21:39 +08:00
3 changed files with 8 additions and 6 deletions

View File

@@ -5,7 +5,7 @@ on:
branches: [main]
env:
REGISTRY: 192.168.1.212:1180/library
REGISTRY: harbor.cjjhc.top/library
jobs:
build:
@@ -17,11 +17,12 @@ jobs:
- name: Generate demo content + Dockerfile
run: |
set -ex
WORK=/root/.cache/demo-frontend
rm -rf "$WORK"
mkdir -p "$WORK"
cd "$WORK"
git clone http://joe:${GITEA_TOKEN}@192.168.1.212:3000/joe/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
@@ -51,7 +52,7 @@ jobs:
GITHUB_SHA: ${{ github.sha }}
- name: Login to Harbor
run: docker login 192.168.1.212:1180 -u admin -p "$HARBOR_PASSWORD"
run: docker login $REGISTRY -u admin -p "$HARBOR_PASSWORD"
env:
HARBOR_PASSWORD: ${{ secrets.HARBOR_PASSWORD }}
@@ -82,4 +83,3 @@ jobs:
echo "✓ Pushed tag ${SHORT}"
env:
GITHUB_SHA: ${{ github.sha }}
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}

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