fix: invalid BASE_URL
This commit is contained in:
parent
e5b68769c0
commit
4c1b8e1767
@ -21,7 +21,7 @@ jobs:
|
||||
fi
|
||||
REGISTRY="$(sed 's .*:// ' <<< ${{ gitea.server_url }})"
|
||||
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:]-/:_' _)"
|
||||
EOF
|
||||
cat .env
|
||||
|
@ -7,6 +7,6 @@
|
||||
</head>
|
||||
<body>
|
||||
<img src="static/logo.webp" alt="Icing logo">
|
||||
<p>Hello, World!</p>
|
||||
<p>Hello, World</p>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user