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