feat(gitea): use ipv4 to contact api

This commit is contained in:
wpetit 2022-10-21 23:22:50 +02:00
parent 13c89a3cde
commit 522deb3c6a
1 changed files with 2 additions and 0 deletions

View File

@ -156,6 +156,8 @@ function gitea_api {
curl -L \ curl -L \
--fail \ --fail \
--ipv4 \
-v \
-u "$GITEA_RELEASE_USERNAME:$GITEA_RELEASE_PASSWORD" \ -u "$GITEA_RELEASE_USERNAME:$GITEA_RELEASE_PASSWORD" \
${args} \ ${args} \
"$GITEA_RELEASE_BASE_URL/api/v1$path" "$GITEA_RELEASE_BASE_URL/api/v1$path"