Deplo

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.

ArgumentTypeDescription
inputAddRegistryInput!
input.nameString!
input.passwordString!
input.registryUrlString
input.typeRegistryType!One of dockerhub, generic, ghcr, gitlab.
input.usernameString!
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.

ArgumentTypeDescription
idString!
mutation {
  deleteRegistry(id: "reg_9f1c2ab7d3e4f5a6")
}

See also

Did this page help you?

On this page