fix: invalid BASE_URL
This commit is contained in:
parent
c94a6b6700
commit
55995bc0a7
@ -21,7 +21,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
REGISTRY="$(sed 's .*:// ' <<< ${{ gitea.server_url }})"
|
REGISTRY="$(sed 's .*:// ' <<< ${{ gitea.server_url }})"
|
||||||
cat <<EOF >> .env
|
cat <<EOF >> .env
|
||||||
BASE_URL="$BASE_URL"
|
BASE_URL="$(printf '%s' "$BASE_URL" | tr '[:upper:]' '[:lower:]' | tr -c '[:lower:][:digit:]-.' -)"
|
||||||
IMAGEAPP="$REGISTRY/$(printf '%s' "${{ gitea.repository }}:${{ gitea.ref_name }}" | tr '[:upper:]' '[:lower:]' | tr -c '[:lower:][:digit:]-/:_' _)"
|
IMAGEAPP="$REGISTRY/$(printf '%s' "${{ gitea.repository }}:${{ gitea.ref_name }}" | tr '[:upper:]' '[:lower:]' | tr -c '[:lower:][:digit:]-/:_' _)"
|
||||||
EOF
|
EOF
|
||||||
cat .env
|
cat .env
|
||||||
|
@ -7,6 +7,6 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<img src="static/logo.webp" alt="Icing logo">
|
<img src="static/logo.webp" alt="Icing logo">
|
||||||
<p>Hello, World!</p>
|
<p>Hello, World</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user