cipd_upload: Fix repository URL
Bug: b/332357274
Change-Id: Ibd5937ac76c33d9ddf360eed2fa6c404b1037f32
Reviewed-on: https://pigweed-review.googlesource.com/c/infra/recipes/+/206472
Pigweed-Auto-Submit: Rob Mohr <mohrr@google.com>
Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Wyatt Hepler <hepler@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com>
diff --git a/recipe_modules/cipd_upload/api.py b/recipe_modules/cipd_upload/api.py
index b1a337f..53ce735 100644
--- a/recipe_modules/cipd_upload/api.py
+++ b/recipe_modules/cipd_upload/api.py
@@ -115,7 +115,7 @@
cipd_package=manifest.pkg_name,
cipd_manifest=manifest,
build_dir=build_dir,
- repository=checkout.root,
+ repository=checkout.options.remote,
git_revision=checkout.revision(),
upload_to_cipd=upload_to_cipd,
cas_digests=cas_digests,