diff --git a/.gitea/workflows/website.yaml b/.gitea/workflows/website.yaml index 0b235d8..0956dc7 100644 --- a/.gitea/workflows/website.yaml +++ b/.gitea/workflows/website.yaml @@ -19,8 +19,7 @@ jobs: REGISTRY="$(sed 's .*:// ' <<< ${{ gitea.server_url }})" cat <> .env BASE_URL="$BASE_URL" - REGISTRY="$REGISTRY" - IMAGEAPP="$REGISTRY/${{ gitea.repository }}:${{ gitea.ref_name }}" + IMAGEAPP="$REGISTRY/$(printf '%s' "${{ gitea.repository }}:${{ gitea.ref_name }}" | tr '[:upper:]' '[:lower:]' | tr -c '[:lower:][:digit:]-/:_' _)" EOF cat .env