Request an invite
Docs menu

osmates template repositories

Show or set the repositories your team's images come from.

Usage
osmates template repositories [<repositories> ...] [--clear] [--json]

With repositories, they replace yours; with --clear, yours are removed; with neither, the command shows them. Give each as registry/repository, without a tag. When your organization names its repositories, they are shown and yours can't be set. Setting them needs OSMates Team.

Arguments

<repositories>Repeatable

Each repository, as ghcr.io/acme/base.

--clear

Remove your repositories.

--json

Print machine-readable JSON.

JSON output

With --json, it prints an object with these fields.

JSON Schema: /schemas/0/cli/template/repositories.json

managedbooleanRequired
otherSourcesAllowedbooleanRequired
repositoriesarray of stringsRequired
signingKeysarray of strings

Exit statuses

Its exit status is one of these.

StatusMeaning
0The command did what it was asked.
1The command failed; with --json, standard error's last line is the error object.
64The command line is wrong, as ArgumentParser found before the command ran.
65What was given is wrong, found while the command ran; the same command fails until it changes.
75The same command can work later with nothing changed, as while an update finishes.
130Control-C cancelled what the command started.

Report a problem with this page