fix: Update repository URL in all workflow files
- Fix checkout URLs in update-production-secrets.yml - Fix checkout URLs in security-scan.yml - Fix checkout URLs in test-registry.yml - Change from repository.michaelschiemer.de:5000 to git.michaelschiemer.de
This commit is contained in:
@@ -27,7 +27,7 @@ jobs:
|
|||||||
# Use CI token if available, otherwise try public access
|
# Use CI token if available, otherwise try public access
|
||||||
if [ -n "${{ secrets.CI_TOKEN }}" ]; then
|
if [ -n "${{ secrets.CI_TOKEN }}" ]; then
|
||||||
git clone --depth 1 --branch "$REF_NAME" \
|
git clone --depth 1 --branch "$REF_NAME" \
|
||||||
"https://${{ secrets.CI_TOKEN }}@repository.michaelschiemer.de:5000/${REPO}.git" \
|
"https://${{ secrets.CI_TOKEN }}@git.michaelschiemer.de/${REPO}.git" \
|
||||||
/workspace/repo
|
/workspace/repo
|
||||||
else
|
else
|
||||||
# Try public HTTPS (works if repository is public)
|
# Try public HTTPS (works if repository is public)
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ jobs:
|
|||||||
|
|
||||||
if [ -n "${{ secrets.CI_TOKEN }}" ]; then
|
if [ -n "${{ secrets.CI_TOKEN }}" ]; then
|
||||||
git clone --depth 1 --branch "$REF_NAME" \
|
git clone --depth 1 --branch "$REF_NAME" \
|
||||||
"https://${{ secrets.CI_TOKEN }}@repository.michaelschiemer.de:5000/${REPO}.git" \
|
"https://${{ secrets.CI_TOKEN }}@git.michaelschiemer.de/${REPO}.git" \
|
||||||
/workspace/repo
|
/workspace/repo
|
||||||
else
|
else
|
||||||
git clone --depth 1 --branch "$REF_NAME" \
|
git clone --depth 1 --branch "$REF_NAME" \
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ jobs:
|
|||||||
|
|
||||||
if [ -n "${{ secrets.CI_TOKEN }}" ]; then
|
if [ -n "${{ secrets.CI_TOKEN }}" ]; then
|
||||||
git clone --depth 1 --branch "$REF_NAME" \
|
git clone --depth 1 --branch "$REF_NAME" \
|
||||||
"https://${{ secrets.CI_TOKEN }}@repository.michaelschiemer.de:5000/${REPO}.git" \
|
"https://${{ secrets.CI_TOKEN }}@git.michaelschiemer.de/${REPO}.git" \
|
||||||
/workspace/repo
|
/workspace/repo
|
||||||
else
|
else
|
||||||
git clone --depth 1 --branch "$REF_NAME" \
|
git clone --depth 1 --branch "$REF_NAME" \
|
||||||
|
|||||||
Reference in New Issue
Block a user