Use a private registry
Last updated on
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.
Before you begin
Section titled “Before you begin”- 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.
Use the full image reference
Section titled “Use the full image reference”With a private registry, the image reference must include the registry host:
registry.example.com/team/app:1.4.2| Part | Example |
|---|---|
| Registry host | registry.example.com |
| Repository | team/app |
| Tag | 1.4.2 |
Add registry credentials
Section titled “Add registry credentials”-
Open the environment, or start creating a new one.
-
Select Private registry section.
-
Click on Add a registry

-
Enter the registry host, for example
registry.onstackit.cloud.
-
Enter the username and the token or password.
-
Save.
SCA pulls the image with these credentials. If the pull fails, the application shows Failed with the reason.
Rotate credentials
Section titled “Rotate credentials”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.