This commit is contained in:
@@ -14,14 +14,10 @@ jobs:
|
||||
mkdir -p secrets
|
||||
printf '%s' '${{ secrets.TSRUN_MANIFEST_JSON }}' > secrets/tsrun.manifest.json
|
||||
|
||||
- name: Login to registry
|
||||
run: |
|
||||
printf '%s' '${{ secrets.REGISTRY_PASSWORD }}' | docker login git.astrxl.dev -u '${{ secrets.REGISTRY_USERNAME }}' --password-stdin
|
||||
|
||||
- name: Build and push
|
||||
run: |
|
||||
TAG=${{ gitea.sha }}
|
||||
IMAGE=git.astrxl.dev/astral/tsrun
|
||||
IMAGE=registry.neko-piranha.ts.net/astral/tsrun
|
||||
docker buildx create --use --name tsrun-bootstrap-builder || docker buildx use tsrun-bootstrap-builder
|
||||
docker buildx build --platform linux/amd64 -t $IMAGE:$TAG -t $IMAGE:latest --push .
|
||||
|
||||
@@ -32,5 +28,5 @@ jobs:
|
||||
|
||||
- name: Rollout
|
||||
run: |
|
||||
kubectl set image deployment/tsrun tsrun=git.astrxl.dev/astral/tsrun:${{ gitea.sha }} -n default
|
||||
kubectl set image deployment/tsrun tsrun=registry.neko-piranha.ts.net/astral/tsrun:${{ gitea.sha }} -n default
|
||||
kubectl rollout status deployment/tsrun -n default --timeout=180s
|
||||
|
||||
@@ -62,7 +62,7 @@ Builds and deploys follow the GitOps Bun service pattern from `deploy-docs`:
|
||||
|
||||
Current deployment targets:
|
||||
|
||||
1. image: `git.astrxl.dev/astral/tsrun`
|
||||
1. image: `registry.neko-piranha.ts.net/astral/tsrun`
|
||||
2. namespace: `default`
|
||||
3. ingress host: `tsr.dgnr.us`
|
||||
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: tsrun
|
||||
image: git.astrxl.dev/astral/tsrun:latest
|
||||
image: registry.neko-piranha.ts.net/astral/tsrun:latest
|
||||
env:
|
||||
- name: PORT
|
||||
value: "3000"
|
||||
|
||||
Reference in New Issue
Block a user