diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 829aa9f..2e8139c 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -96,20 +96,20 @@ jobs: cp "${artifact}" "${package_dir}/latest/${LATEST_FILE}" curl --fail-with-body \ - --user "${PACKAGE_OWNER}:${REGISTRY_TOKEN}" \ + --header "Authorization: token ${REGISTRY_TOKEN}" \ --upload-file "${package_dir}/versioned/${versioned_file}" \ "https://git.wilkensxl.de/api/packages/${PACKAGE_OWNER}/generic/${PACKAGE_NAME}/${package_version}/${versioned_file}" curl --silent --show-error \ - --user "${PACKAGE_OWNER}:${REGISTRY_TOKEN}" \ + --header "Authorization: token ${REGISTRY_TOKEN}" \ --request DELETE \ "https://git.wilkensxl.de/api/packages/${PACKAGE_OWNER}/generic/${PACKAGE_NAME}/latest" || true curl --fail-with-body \ - --user "${PACKAGE_OWNER}:${REGISTRY_TOKEN}" \ + --header "Authorization: token ${REGISTRY_TOKEN}" \ --upload-file "${package_dir}/latest/${LATEST_FILE}" \ "https://git.wilkensxl.de/api/packages/${PACKAGE_OWNER}/generic/${PACKAGE_NAME}/latest/${LATEST_FILE}" curl --fail --head \ - --user "${PACKAGE_OWNER}:${REGISTRY_TOKEN}" \ + --header "Authorization: token ${REGISTRY_TOKEN}" \ "https://git.wilkensxl.de/api/packages/${PACKAGE_OWNER}/generic/${PACKAGE_NAME}/latest/${LATEST_FILE}"