Update a container registry
Update a project's container registry configuration. Requires project admin. Credentials can be omitted to keep existing values.
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""basic" | "personal_access_token" | "bearer"Human-readable registry name
1 <= length <= 100Registry hostname (e.g. ghcr.io, docker.io)
1 <= length <= 255URL-safe registry identifier
^[a-z0-9][a-z0-9-]*[a-z0-9]$2 <= length <= 64Path prefix within the registry (e.g. my-org for ghcr.io)
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://api-dev.tektona.ai/v1/orgs/string/projects/string/registries/string" \ -H "Content-Type: application/json" \ -d '{ "auth_type": "basic", "display_name": "string", "endpoint": "string", "name": "string" }'{ "$schema": "https://api-dev.tektona.ai/schemas/RegistryResponse.json", "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"}{ "$schema": "https://api-dev.tektona.ai/schemas/ErrorModel.json", "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"}