-
-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document how to update the CUE schemas
Signed-off-by: Stefan Prodan <[email protected]>
- Loading branch information
1 parent
3c64dac
commit ae6b258
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Timoni CUE Schemas | ||
|
||
The Timoni's CUE schemas are included in the modules generated with `timoni mod init`. | ||
|
||
## Vendoring | ||
|
||
To update a module's schemas to the latest version, | ||
run the following command from within the module root: | ||
|
||
```shell | ||
timoni artifact pull oci://ghcr.io/stefanprodan/timoni/schemas:latest \ | ||
--output cue.mod/pkg | ||
``` | ||
|
||
To update the schemas and verify the signature with Cosign v2: | ||
|
||
```shell | ||
timoni artifact pull oci://ghcr.io/stefanprodan/timoni/schemas:latest \ | ||
--verify=cosign \ | ||
--certificate-identity-regexp="^https://github.com/stefanprodan/timoni.*$" \ | ||
--certificate-oidc-issuer=https://token.actions.githubusercontent.com \ | ||
--output cue.mod/pkg | ||
``` |