CI/CD auto deploy website #4

Open
ange wants to merge 19 commits from websitedeploy into dev
Showing only changes of commit c861e04f6f - Show all commits

View File

@ -19,8 +19,7 @@ jobs:
REGISTRY="$(sed 's .*:// ' <<< ${{ gitea.server_url }})"
cat <<EOF >> .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