-
-
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.
Merge pull request #224 from stefanprodan/push-cue-schemas
ci: Publish Timoni's CUE schemas to GHCR
- Loading branch information
Showing
3 changed files
with
86 additions
and
8 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
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
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 | ||
``` |