chore: Update schemas to version all types (#383)
This commit is contained in:
parent
91fb8da525
commit
d343201724
16 changed files with 279 additions and 248 deletions
|
|
@ -1,16 +1,17 @@
|
|||
import "@typespec/json-schema";
|
||||
using TypeSpec.JsonSchema;
|
||||
|
||||
@jsonSchema("/modules/script.json")
|
||||
@jsonSchema("/modules/script-v1.json")
|
||||
@jsonSchema("/modules/script-latest.json")
|
||||
model ScriptModule {
|
||||
/** The script module can be used to run arbitrary bash snippets and scripts at image build time.
|
||||
* https://blue-build.org/reference/modules/script/
|
||||
*/
|
||||
type: "script";
|
||||
/** The script module can be used to run arbitrary bash snippets and scripts at image build time.
|
||||
* https://blue-build.org/reference/modules/script/
|
||||
*/
|
||||
type: "script" | "script@v1" | "script@latest";
|
||||
|
||||
/** List of bash one-liners to run. */
|
||||
snippets?: Array<string>;
|
||||
/** List of bash one-liners to run. */
|
||||
snippets?: Array<string>;
|
||||
|
||||
/** List of script files to run. */
|
||||
scripts?: Array<string>;
|
||||
}
|
||||
/** List of script files to run. */
|
||||
scripts?: Array<string>;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue