Container registries
Credentials for pulling private images.
A registry credential lets a server pull a private image for an app deployed from a Docker image or a compose stack. The password is write-only; the entity never returns it.
Operations
registries
Any signed-in principal. Returns [Registry!].
All registry credentials in the active team, newest first.
query {
registries {
id
name
type
username
}
}addRegistry
Needs manage_registries. Returns Boolean.
Add a registry credential to the active team. Returns true.
| Argument | Type | Description |
|---|---|---|
input | AddRegistryInput! | |
input.name | String! | |
input.password | String! | |
input.registryUrl | String | |
input.type | RegistryType! | One of dockerhub, generic, ghcr, gitlab. |
input.username | String! |
mutation {
addRegistry(
input: { name: "GHCR", type: ghcr, username: "ada", password: "<personal access token>" }
)
}deleteRegistry
Needs manage_registries. Returns Boolean.
Delete a registry credential. Returns true.
| Argument | Type | Description |
|---|---|---|
id | String! |
mutation {
deleteRegistry(id: "reg_9f1c2ab7d3e4f5a6")
}See also
Did this page help you?