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
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 7s
This commit is contained in:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user