Worker Model configuration file


name: go-official-1.17
group: shared.infra
image: golang:1.17
description: official from
type: docker
pattern_name: basic_unix

Import a worker model:

cdsctl worker model import ./go-official-1.17.yml

or with a remote file:

cdsctl worker model import
If you want to specify an image using a private registry or a private image, you need to fill credentials in field username and password to access your image. And if your image is not on docker hub but from a private registry, you need to fill the registry info (the registry api url, for example for docker hub it’s but we fill it by default).