Updated on 2024-04-16 GMT+08:00

Configuring a Custom Image

If a common build environment does not have the required dependency packages and tools when you use CodeArts Check, you can use the base image provided by a custom build environment to execute the code check task.

Prerequisite

  • You have customized an environment.
  • After the build is complete, push the custom environment to the image repository.

Procedure

  1. Go to the Task page. In the task list, click a task name.
  2. On the displayed View Task Details page, click Settings > Advanced.
  3. In the Custom Image area, enter the content in the format of Domain name/Organization name/Image repository name:Tag name.
  4. Click Save.