Add registry credentials
create_registryStore container registry credentials to let pipelines pull private images. Provide address, username, and password; the address is the unique identifier.
Instructions
Stores credentials for a container registry so pipelines can pull private images from it. The address is the identifier — there is no separate name — so "docker.io" and "index.docker.io" are two different entries.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"scope": "<scope>",
"address": "<address>",
"username": "<username>",
"password": "<password>"
},
"name": "create_registry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | Yes | Which level to act on. "repository" needs repo_id, "organization" needs org_id, and "global" is instance-wide and needs neither (admin only). A pipeline sees the repository level first, then the organization, then global. | |
| org_id | No | Required when scope is "organization". | |
| address | Yes | Registry address, which is also its identifier — for example "docker.io". | |
| repo_id | No | Required when scope is "repository". | |
| password | Yes | Registry password or token. Write-only — Woodpecker strips it from every response, so it cannot be read back. | |
| username | Yes | Registry username. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| truncated | No | Present only when the answer was shortened to fit the budget. |