-
Notifications
You must be signed in to change notification settings - Fork 250
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
Add ecr scan step #2519
Add ecr scan step #2519
Conversation
Preview URL: https://2519--bk-docs-preview.netlify.app |
Nice one. Thanks @danstn |
- name: ":ecr: ECR Vulnerabilities Scan" | ||
command: "true" | ||
soft_fail: true | ||
plugins: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this need a depends_on
to ensure it runs after the image is pushed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. Updated here 6ce1032.
plugins: | ||
- buildkite/ecr-scan-results#v1.2.0: | ||
image-name: "${ECR_REPO}:${BUILDKITE_BUILD_NUMBER}" | ||
|
||
# If the current user is part of the deploy team, then wait for everything to | ||
# finish before deploying | ||
- wait: ~ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this wait need to depend on the ECR scan? Maybe not now I guess, while the ECR scan is soft fail?
This will introduce a soft-fail step that will add ECR scan results to build annotation.