fix: use NAS-local Gitea registry for CRM
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 7s

This commit is contained in:
Kroonk
2026-05-22 16:53:06 +02:00
parent 0932a84a2b
commit 8195bb8ccf
3 changed files with 9 additions and 13 deletions

View File

@@ -5,10 +5,9 @@ on:
branches: [main]
env:
REGISTRY: git.mischlabs.de
REGISTRY_LAN_IP: 192.168.178.88
REGISTRY: localhost:3001
REGISTRY_USER: MrDiderot
REGISTRY_IMAGE: git.mischlabs.de/mrdiderot/crm
REGISTRY_IMAGE: localhost:3001/mrdiderot/crm
jobs:
build-and-push:
@@ -45,10 +44,6 @@ jobs:
- name: Log in to Gitea Package Registry
shell: sh
run: |
if [ -n "${{ env.REGISTRY_LAN_IP }}" ]; then
echo "${{ env.REGISTRY_LAN_IP }} ${{ env.REGISTRY }}" >> /etc/hosts
fi
if [ -z "${{ secrets.REGISTRY_TOKEN }}" ]; then
echo "Missing REGISTRY_TOKEN secret."
echo "Create a Gitea personal access token for MrDiderot with package Read and Write permission."