Fix Gitea username: julia → lazorgurl in all registry/API refs
Gitea admin username is julia but the Gitea account name is lazorgurl. Update container registry URLs, workflow refs, Taskfile API calls, and pull secret placeholders.
This commit is contained in:
@@ -76,12 +76,12 @@ jobs:
|
||||
- name: Build Docker image
|
||||
run: |
|
||||
docker build \
|
||||
-t gitea.coreworlds.io/julia/homelab-${{ matrix.app }}:${{ gitea.sha }} \
|
||||
-t gitea.coreworlds.io/julia/homelab-${{ matrix.app }}:pr-${{ gitea.event.number }} \
|
||||
-t gitea.coreworlds.io/lazorgurl/homelab-${{ matrix.app }}:${{ gitea.sha }} \
|
||||
-t gitea.coreworlds.io/lazorgurl/homelab-${{ matrix.app }}:pr-${{ gitea.event.number }} \
|
||||
apps/${{ matrix.app }}
|
||||
|
||||
- name: Push to registry
|
||||
if: gitea.event_name == 'push' || gitea.event_name == 'pull_request'
|
||||
run: |
|
||||
echo "${{ secrets.GITEA_TOKEN }}" | docker login gitea.coreworlds.io -u ${{ gitea.actor }} --password-stdin
|
||||
docker push gitea.coreworlds.io/julia/homelab-${{ matrix.app }}:${{ gitea.sha }}
|
||||
docker push gitea.coreworlds.io/lazorgurl/homelab-${{ matrix.app }}:${{ gitea.sha }}
|
||||
|
||||
@@ -32,9 +32,9 @@ jobs:
|
||||
IFS=',' read -ra APPS <<< "${{ steps.changes.outputs.apps }}"
|
||||
for app in "${APPS[@]}"; do
|
||||
docker build \
|
||||
-t gitea.coreworlds.io/julia/homelab-${app}:${{ gitea.sha }} \
|
||||
-t gitea.coreworlds.io/lazorgurl/homelab-${app}:${{ gitea.sha }} \
|
||||
apps/${app}
|
||||
docker push gitea.coreworlds.io/julia/homelab-${app}:${{ gitea.sha }}
|
||||
docker push gitea.coreworlds.io/lazorgurl/homelab-${app}:${{ gitea.sha }}
|
||||
done
|
||||
|
||||
- name: Update image tags in preview overlay
|
||||
@@ -43,7 +43,7 @@ jobs:
|
||||
IFS=',' read -ra APPS <<< "${{ steps.changes.outputs.apps }}"
|
||||
for app in "${APPS[@]}"; do
|
||||
cd apps/${app}/k8s/overlays/preview
|
||||
kustomize edit set image gitea.coreworlds.io/julia/homelab-${app}=gitea.coreworlds.io/julia/homelab-${app}:${{ gitea.sha }}
|
||||
kustomize edit set image gitea.coreworlds.io/lazorgurl/homelab-${app}=gitea.coreworlds.io/lazorgurl/homelab-${app}:${{ gitea.sha }}
|
||||
cd -
|
||||
done
|
||||
|
||||
|
||||
@@ -32,11 +32,11 @@ jobs:
|
||||
IFS=',' read -ra APPS <<< "${{ steps.changes.outputs.apps }}"
|
||||
for app in "${APPS[@]}"; do
|
||||
docker build \
|
||||
-t gitea.coreworlds.io/julia/homelab-${app}:${{ gitea.sha }} \
|
||||
-t gitea.coreworlds.io/julia/homelab-${app}:latest \
|
||||
-t gitea.coreworlds.io/lazorgurl/homelab-${app}:${{ gitea.sha }} \
|
||||
-t gitea.coreworlds.io/lazorgurl/homelab-${app}:latest \
|
||||
apps/${app}
|
||||
docker push gitea.coreworlds.io/julia/homelab-${app}:${{ gitea.sha }}
|
||||
docker push gitea.coreworlds.io/julia/homelab-${app}:latest
|
||||
docker push gitea.coreworlds.io/lazorgurl/homelab-${app}:${{ gitea.sha }}
|
||||
docker push gitea.coreworlds.io/lazorgurl/homelab-${app}:latest
|
||||
done
|
||||
|
||||
- name: Update image tags in production overlay
|
||||
@@ -45,7 +45,7 @@ jobs:
|
||||
IFS=',' read -ra APPS <<< "${{ steps.changes.outputs.apps }}"
|
||||
for app in "${APPS[@]}"; do
|
||||
cd apps/${app}/k8s/overlays/production
|
||||
kustomize edit set image gitea.coreworlds.io/julia/homelab-${app}=gitea.coreworlds.io/julia/homelab-${app}:${{ gitea.sha }}
|
||||
kustomize edit set image gitea.coreworlds.io/lazorgurl/homelab-${app}=gitea.coreworlds.io/lazorgurl/homelab-${app}:${{ gitea.sha }}
|
||||
cd -
|
||||
done
|
||||
|
||||
|
||||
@@ -106,7 +106,7 @@ tasks:
|
||||
echo ""
|
||||
echo "=== Mirror Sync ==="
|
||||
curl -s -H "Authorization: token $(kubectl get secret argocd-gitea-token -n argocd -o jsonpath='{.data.token}' | base64 -d)" \
|
||||
https://gitea.coreworlds.io/api/v1/repos/julia/homelab | jq '{mirror: .mirror, mirror_updated: .mirror_updated}'
|
||||
https://gitea.coreworlds.io/api/v1/repos/lazorgurl/homelab | jq '{mirror: .mirror, mirror_updated: .mirror_updated}'
|
||||
|
||||
gitea:runner:register:
|
||||
desc: Register an external Gitea Actions runner
|
||||
|
||||
@@ -18,7 +18,7 @@ spec:
|
||||
- name: gitea-pull-secret
|
||||
containers:
|
||||
- name: api
|
||||
image: gitea.coreworlds.io/julia/homelab-api:latest
|
||||
image: gitea.coreworlds.io/lazorgurl/homelab-api:latest
|
||||
ports:
|
||||
- containerPort: 4000
|
||||
name: http
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# kubectl create secret docker-registry gitea-pull-secret \
|
||||
# --namespace apps \
|
||||
# --docker-server=gitea.coreworlds.io \
|
||||
# --docker-username=julia \
|
||||
# --docker-username=lazorgurl \
|
||||
# --docker-password=<token> \
|
||||
# --dry-run=client -o yaml | kubeseal --format yaml \
|
||||
# --controller-namespace kube-system --controller-name sealed-secrets-helm
|
||||
|
||||
@@ -14,6 +14,6 @@ patches:
|
||||
kind: Deployment
|
||||
name: api
|
||||
images:
|
||||
- name: gitea.coreworlds.io/julia/homelab-api
|
||||
newName: gitea.coreworlds.io/julia/homelab-api
|
||||
- name: gitea.coreworlds.io/lazorgurl/homelab-api
|
||||
newName: gitea.coreworlds.io/lazorgurl/homelab-api
|
||||
newTag: da95687db90d2790cac12ad2e66fa16388712871
|
||||
|
||||
@@ -18,7 +18,7 @@ spec:
|
||||
- name: gitea-pull-secret
|
||||
containers:
|
||||
- name: harness
|
||||
image: gitea.coreworlds.io/julia/homelab-harness:latest
|
||||
image: gitea.coreworlds.io/lazorgurl/homelab-harness:latest
|
||||
ports:
|
||||
- containerPort: 3100
|
||||
env:
|
||||
|
||||
@@ -14,6 +14,6 @@ patches:
|
||||
kind: Deployment
|
||||
name: harness
|
||||
images:
|
||||
- name: gitea.coreworlds.io/julia/homelab-harness
|
||||
newName: gitea.coreworlds.io/julia/homelab-harness
|
||||
- name: gitea.coreworlds.io/lazorgurl/homelab-harness
|
||||
newName: gitea.coreworlds.io/lazorgurl/homelab-harness
|
||||
newTag: latest
|
||||
|
||||
@@ -18,7 +18,7 @@ spec:
|
||||
- name: gitea-pull-secret
|
||||
containers:
|
||||
- name: web
|
||||
image: gitea.coreworlds.io/julia/homelab-web:latest
|
||||
image: gitea.coreworlds.io/lazorgurl/homelab-web:latest
|
||||
ports:
|
||||
- containerPort: 3000
|
||||
resources:
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# kubectl create secret docker-registry gitea-pull-secret \
|
||||
# --namespace apps \
|
||||
# --docker-server=gitea.coreworlds.io \
|
||||
# --docker-username=julia \
|
||||
# --docker-username=lazorgurl \
|
||||
# --docker-password=<token> \
|
||||
# --dry-run=client -o yaml | kubeseal --format yaml \
|
||||
# --controller-namespace kube-system --controller-name sealed-secrets-helm
|
||||
|
||||
@@ -14,6 +14,6 @@ patches:
|
||||
kind: Deployment
|
||||
name: web
|
||||
images:
|
||||
- name: gitea.coreworlds.io/julia/homelab-web
|
||||
newName: gitea.coreworlds.io/julia/homelab-web
|
||||
- name: gitea.coreworlds.io/lazorgurl/homelab-web
|
||||
newName: gitea.coreworlds.io/lazorgurl/homelab-web
|
||||
newTag: da95687db90d2790cac12ad2e66fa16388712871
|
||||
|
||||
Reference in New Issue
Block a user