Integrate Harbor to Scan Image Security¶
This page will introduce how to integrate Harbor in the pipeline and implement image security scanning.
Enable automatic image scanning in Harbor¶
-
Log in to Harbor and click a specific project.
-
Choose the Configuration tab, and check Automatically scan images on push .
Configure the pipeline in Workbench¶
-
In Workbench, create a pipeline, refer to Quickly create a pipeline, and click Run Now after the configuration is complete.
-
In the pop-up dialog box, enter the address of the mirror warehouse in the above Harbor configuration project.
-
Wait for the pipeline to run successfully.
View image security scanning in Harbor¶
Visit Project -> Image Repository in turn in Harbor to view the vulnerability information of the mirror.