Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix regex used to match docker SHA256 #37045

Conversation

pjanotti
Copy link
Contributor

@pjanotti pjanotti commented Jan 7, 2025

Description

Fix the regex used to match docker SHA256.

Link to tracking issue

Fix #36239

Testing

Local run of make at internal/docker - caveat: if some other test code depending on this may fail if it is not using a SHA256 with exactly 64 chars it will be broken by this change. I will add any test fix for any such case detected via CI.

Documentation

N/A

@pjanotti pjanotti requested a review from a team as a code owner January 7, 2025 00:08
@pjanotti pjanotti requested a review from fatsheep9146 January 7, 2025 00:08
@andrzej-stencel andrzej-stencel merged commit 9226667 into open-telemetry:main Jan 7, 2025
164 checks passed
@github-actions github-actions bot added this to the next release milestone Jan 7, 2025
@pjanotti pjanotti deleted the fix-docker-observer-sha256-matching branch January 7, 2025 14:21
AkhigbeEromo pushed a commit to sematext/opentelemetry-collector-contrib that referenced this pull request Jan 13, 2025
#### Description
Fix the regex used to match docker SHA256.

#### Link to tracking issue
Fix open-telemetry#36239

#### Testing
Local run of `make` at `internal/docker` - caveat: if some other test
code depending on this may fail if it is not using a SHA256 with exactly
64 chars it will be broken by this change. I will add any test fix for
any such case detected via CI.

#### Documentation
N/A
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.

[docker_observer]: Potential issue with image regex
3 participants