Update a container registry
Update a project's container registry configuration. Requires project admin. Credentials can be omitted to keep existing values.
Authorization
apiKey API key starting with tektona_. Create one at app-dev.tektona.ai under API Keys.
In: header
Path Parameters
Organization name
^[a-z0-9][a-z0-9-]*[a-z0-9]$2 <= length <= 64Project name
^[a-z0-9][a-z0-9-]*[a-z0-9]$2 <= length <= 64Registry name
^[a-z0-9][a-z0-9-]*[a-z0-9]$2 <= length <= 64Query Parameters
Test connection without saving
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Authentication type
"personal_access_token"Value in
- "basic"
- "personal_access_token"
- "bearer"
Human-readable registry name
^[^\x00-\x08\x0a-\x1f\x7f-\x9f--]*$1 <= length <= 100Registry host with an optional port, for example ghcr.io or registry.example.com:5000. A leading https:// is allowed. A path, a user name, a query and any other scheme are refused.
^(?:https://)?(?:[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?(?:\.[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*|\[[0-9A-Fa-f]*:[0-9A-Fa-f:.]*\])(?::(?:[1-9][0-9]{0,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?$1 <= length <= 255URL-safe registry identifier
^[a-z0-9][a-z0-9-]*[a-z0-9]$2 <= length <= 64Repository path prefix within the registry, for example my-org or my-org/team-a. Each part is lowercase letters and digits, which a dot, an underscore or a hyphen can separate.
^(?:[a-z0-9]+(?:(?:\.|_|__|-+)[a-z0-9]+)*(?:/[a-z0-9]+(?:(?:\.|_|__|-+)[a-z0-9]+)*)*)?$length <= 255Password (omit to keep existing)
length <= 255Token (omit to keep existing)
length <= 4096Username (omit to keep existing)
length <= 255Response Body
application/json
application/problem+json
curl -X PUT "https://example.com/v1/orgs/string/projects/string/registries/string" \ -H "Content-Type: application/json" \ -d '{ "auth_type": "basic", "display_name": "string", "endpoint": "string", "name": "string" }'{ "auth_type": "basic", "created_at": "string", "display_name": "My GitHub Registry", "endpoint": "ghcr.io", "has_credentials": true, "id": "string", "name": "my-ghcr", "namespace": "my-org", "owner": { "project": { "display_name": "string", "name": "string" }, "type": "project" }, "updated_at": "string"}{ "detail": "Property foo is required but is missing.", "errors": [ { "location": "string", "message": "string", "value": null } ], "instance": "https://example.com/error-log/abc123", "status": 400, "title": "Bad Request", "type": "https://example.com/errors/example"}List container registries GET
List all container registry configurations for a project. Requires project reader.
Create an organization POST
Creates a new organization. You become the organization owner automatically. A service account key cannot create one, because a service account is never an owner.