Skip to content

fix: Send the CloudQuery registry token only to the exact registry host - #723

Merged
marianogappa merged 3 commits into
mainfrom
fix-docker-token-host-match
Nov 16, 2026
Merged

marianogappa merged 3 commits into
mainfrom
fix-docker-token-host-match

Conversation

@marianogappa

Copy link
Copy Markdown
Contributor

The CloudQuery token is now sent on image pull only when the parsed registry host is exactly docker.cloudquery.io, so a look-alike host such as docker.cloudquery.io.example.com no longer receives it.

@marianogappa

Copy link
Copy Markdown
Contributor Author

The TestManagedPluginCloudQueryDocker failure is not from this change: a rerun of the last main unit test job (run 42317994180) fails the same way today with "failed to authorize" on the same image. The CI API key or team secret for that test looks expired or invalid.

kodiakhq Bot pushed a commit that referenced this pull request Nov 13, 2026
…s authenticate (#724)

The CloudQuery registry token is now fetched in-process with the `account` parameter and the `X-Meta-User-Team-Name` and `X-Meta-Plugin-Version` headers and handed to the daemon as a bearer token, because Docker 29's containerd pull path sends neither, which broke `TestManagedPluginCloudQueryDocker` when `ubuntu-latest` moved to ubuntu-26.04 (this predates #723).
@marianogappa
marianogappa marked this pull request as ready for review November 16, 2026 05:36
@marianogappa
marianogappa requested a review from a team as a code owner November 16, 2026 05:36
@marianogappa
marianogappa merged commit d65db68 into main Nov 16, 2026
10 checks passed
@marianogappa
marianogappa deleted the fix-docker-token-host-match branch November 16, 2026 05:40
kodiakhq Bot pushed a commit that referenced this pull request Nov 24, 2026
🤖 I have created a release *beep* *boop*
---


## [1.29.2](v1.29.1...v1.29.2) (2026-11-23)


### Bug Fixes

* **deps:** Update module github.com/apache/arrow-go/v18 to v18.9.0 ([#728](#728)) ([7f6dc49](7f6dc49))
* **deps:** Update module go.opentelemetry.io/otel/trace to v1.47.0 [SECURITY] ([#727](#727)) ([55753b1](55753b1))
* Send the CloudQuery registry token only to the exact registry host ([#723](#723)) ([d65db68](d65db68))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants