ci: switch registry to registry.aeternalisgames.com, rename host image sor-server
- REGISTRY: harbor.aeternalisgames.com → registry.aeternalisgames.com - Host image: sor-host → sor-server (sor-admin unchanged) - Remove stale TODO comments from k8s manifests - Update harbor-pull-secret template with new registry hostname - Update gameplay-effects-gap.md and gameplay-todo.md to reflect completed implementation work Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
This commit is contained in:
@@ -8,14 +8,11 @@ on:
|
||||
- ".gitea/workflows/**"
|
||||
|
||||
env:
|
||||
# TODO: replace with your actual Harbor hostname
|
||||
REGISTRY: harbor.aeternalisgames.com
|
||||
# Harbor project name (create this in Harbor UI first)
|
||||
REGISTRY: registry.aeternalisgames.com
|
||||
PROJECT: sor
|
||||
|
||||
jobs:
|
||||
build-and-push:
|
||||
# TODO: update this label to match your Gitea runner's label
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
@@ -27,7 +24,6 @@ jobs:
|
||||
id: tag
|
||||
run: echo "SHA=$(echo '${{ github.sha }}' | cut -c1-8)" >> $GITHUB_OUTPUT
|
||||
|
||||
# Log in to Harbor using repository secrets HARBOR_USERNAME / HARBOR_PASSWORD.
|
||||
- name: Log in to Harbor
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
@@ -40,17 +36,17 @@ jobs:
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
# ── SOR.Host ────────────────────────────────────────────────────────────
|
||||
- name: Build and push sor-host
|
||||
- name: Build and push sor-server
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: Server
|
||||
file: Server/Dockerfile.host
|
||||
push: true
|
||||
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.PROJECT }}/sor-host:buildcache
|
||||
cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.PROJECT }}/sor-host:buildcache,mode=max
|
||||
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.PROJECT }}/sor-server:buildcache
|
||||
cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.PROJECT }}/sor-server:buildcache,mode=max
|
||||
tags: |
|
||||
${{ env.REGISTRY }}/${{ env.PROJECT }}/sor-host:${{ steps.tag.outputs.SHA }}
|
||||
${{ env.REGISTRY }}/${{ env.PROJECT }}/sor-host:latest
|
||||
${{ env.REGISTRY }}/${{ env.PROJECT }}/sor-server:${{ steps.tag.outputs.SHA }}
|
||||
${{ env.REGISTRY }}/${{ env.PROJECT }}/sor-server:latest
|
||||
|
||||
# ── SOR.Admin ───────────────────────────────────────────────────────────
|
||||
- name: Build and push sor-admin
|
||||
@@ -70,7 +66,7 @@ jobs:
|
||||
- name: Update deployment image tags
|
||||
run: |
|
||||
SHA=${{ steps.tag.outputs.SHA }}
|
||||
sed -i "s|image: ${{ env.REGISTRY }}/${{ env.PROJECT }}/sor-host:.*|image: ${{ env.REGISTRY }}/${{ env.PROJECT }}/sor-host:${SHA}|" deploy/k8s/deployment-host.yaml
|
||||
sed -i "s|image: ${{ env.REGISTRY }}/${{ env.PROJECT }}/sor-server:.*|image: ${{ env.REGISTRY }}/${{ env.PROJECT }}/sor-server:${SHA}|" deploy/k8s/deployment-host.yaml
|
||||
sed -i "s|image: ${{ env.REGISTRY }}/${{ env.PROJECT }}/sor-admin:.*|image: ${{ env.REGISTRY }}/${{ env.PROJECT }}/sor-admin:${SHA}|" deploy/k8s/deployment-admin.yaml
|
||||
|
||||
- name: Commit updated manifests
|
||||
|
||||
Reference in New Issue
Block a user