Define Container Image IDs
Perform the following steps from the plugin configuration to define the container image IDs:
- Set the image IDs/Image Names field to the container image IDs or names you want to report on.
This field is only available for local configuration.
-
Enter a single string value like imageIds: 'a1b2c3d4e5f6' or a comma-separated list like imageIds: 'a1b2c3d4e5f6,abcdef123456'.
-
Specify an image name in the format repo:tag.
The plugin only pulls a report for your specific image. If you provide an image name, the plugin fetches the corresponding sha-256. The plugin tries to fetch the image sha using the docker socket path configured in global or local configuration. If your docker host is running locally to build a tool or agent, the docker socket path is unix:///var/run/docker.sock, whereas if your docker host is running remotely, the docker socket path is the TCP URL to the remote docker host.
For more information about image scanning refere, Scanning CI/CD images.
You can also define container image IDs in a variable and specify the variable as the value. Alternatively, you can inject bamboo variables using a task.