fix: route CRM registry pushes via NAS LAN
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 8s

This commit is contained in:
Kroonk
2026-05-22 16:49:57 +02:00
parent 5fa7cf1418
commit 0932a84a2b

View File

@@ -6,6 +6,7 @@ on:
env:
REGISTRY: git.mischlabs.de
REGISTRY_LAN_IP: 192.168.178.88
REGISTRY_USER: MrDiderot
REGISTRY_IMAGE: git.mischlabs.de/mrdiderot/crm
@@ -44,6 +45,10 @@ 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."