Update: Verwende repository.michaelschiemer.de:5000 für Git-Repository URLs
- Ändere Remote-URL zu repository.michaelschiemer.de:5000 - Aktualisiere alle Workflows (production-deploy, test-registry, security-scan, update-production-secrets) - Test: Production Deployment Workflow
This commit is contained in:
@@ -27,16 +27,16 @@ jobs:
|
||||
# Use CI token if available, otherwise try public access
|
||||
if [ -n "${{ secrets.CI_TOKEN }}" ]; then
|
||||
git clone --depth 1 --branch "$REF_NAME" \
|
||||
"https://${{ secrets.CI_TOKEN }}@git.michaelschiemer.de/${REPO}.git" \
|
||||
"https://${{ secrets.CI_TOKEN }}@repository.michaelschiemer.de:5000/${REPO}.git" \
|
||||
/workspace/repo
|
||||
else
|
||||
# Try public HTTPS (works if repository is public)
|
||||
git clone --depth 1 --branch "$REF_NAME" \
|
||||
"https://git.michaelschiemer.de/${REPO}.git" \
|
||||
"https://repository.michaelschiemer.de:5000/${REPO}.git" \
|
||||
/workspace/repo || \
|
||||
# Fallback: Try to use Gitea's internal runner access
|
||||
git clone --depth 1 \
|
||||
"https://git.michaelschiemer.de/${REPO}.git" \
|
||||
"https://repository.michaelschiemer.de:5000/${REPO}.git" \
|
||||
/workspace/repo
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user