-
Notifications
You must be signed in to change notification settings - Fork 64
Add docker login for daily scan workflow image scanning #1144
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
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1144 +/- ##
=============================================
- Coverage 85.71% 52.70% -33.01%
- Complexity 19 416 +397
=============================================
Files 3 53 +50
Lines 49 2584 +2535
Branches 5 348 +343
=============================================
+ Hits 42 1362 +1320
- Misses 3 1131 +1128
- Partials 4 91 +87 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
*Description of changes:* Python version of this PR: aws-observability/aws-otel-java-instrumentation#1144 By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
*Description of changes:* JavaScript version of this PR: aws-observability/aws-otel-java-instrumentation#1144 By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Description of changes:
The current daily scan's image scan workflow would often fail with the following error:
Turns out the issue is related to making unauthenticated GET request calls to public ECR images.
We make these calls both in the
pr_build
(explanation can be found in the code comment) and inowasp.yml
. Likely, our GET requests to pull the ADOT image are being throttled as a result.aws-otel-java-instrumentation/.github/actions/image_scan/action.yml
Line 24 in 7ffb3d4
owasp.yml
image scanning.Testing
200 Image Scan test runs with docker login (0 failed jobs): https://github.com/aws-observability/aws-otel-java-instrumentation/actions/runs/16922020570/job/47950156083
200 Image Scan test runs w/o docker login (1 failed job, rest didn't run): https://github.com/aws-observability/aws-otel-java-instrumentation/actions/runs/16922512730/job/47951639594
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.