ci: switch registry host
Build and Deploy / build-and-deploy (push) Successful in 2m34s

This commit is contained in:
2026-07-05 07:57:09 +00:00 Unverified
parent 04b0590888
commit 2ad53df691
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -18,8 +18,8 @@ jobs:
TAG=${{ gitea.sha }}
ARCH=$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/')
docker build \
-t mts.dgnr.us:5000/${{ gitea.repository }} \
-t mts.dgnr.us:5000/${{ gitea.repository }}:$TAG --push \
-t registry.neko-piranha.ts.net/${{ gitea.repository }} \
-t registry.neko-piranha.ts.net/${{ gitea.repository }}:$TAG --push \
. &
curl -sLO "https://dl.k8s.io/release/v1.35.0/bin/linux/${ARCH}/kubectl" &
wait
@@ -36,5 +36,5 @@ jobs:
- name: Deploy to k3s
run: |
TAG=${{ gitea.sha }}
kubectl set image deployment/enka-api enka-api=mts.dgnr.us:5000/${{ gitea.repository }}:$TAG -n enka
kubectl set image deployment/enka-api enka-api=registry.neko-piranha.ts.net/${{ gitea.repository }}:$TAG -n enka
kubectl rollout status deployment/enka-api -n enka --timeout=180s
+1 -1
View File
@@ -22,7 +22,7 @@ spec:
spec:
containers:
- name: enka-api
image: mts.dgnr.us:5000/astral/api
image: registry.neko-piranha.ts.net/astral/api
imagePullPolicy: Always
ports:
- containerPort: 3000