Zum Inhalt springen

Use a private registry

Zuletzt aktualisiert am

If your image is in a private registry, give SCA credentials to pull it. Credentials belong to the Environment holding the Application and apply to all of its containers.

  • You have an image in a private registry, such as STACKIT Container Registry.
  • You have credentials that can pull that image. Use a token or robot account with pull-only permission rather than a personal password.

With a private registry, the image reference must include the registry host:

registry.example.com/team/app:1.4.2
  1. Open the environment, or start creating a new one.

  2. Select Private registry section.

  3. Click on Add a registry

    Screenshot name application input field

  4. Enter the registry host, for example registry.onstackit.cloud.

    Screenshot name application input field

  5. Enter the username and the token or password.

  6. Save.

SCA pulls the image with these credentials. If the pull fails, the application shows Failed with the reason.

When you rotate the token, update the credentials in the application before the old token expires, so that new instances can still pull the image.