fix: Update copy Typespec to expect proper type
This commit is contained in:
parent
c0414bed30
commit
ba5d6696f5
1 changed files with 13 additions and 13 deletions
|
|
@ -3,19 +3,19 @@ using TypeSpec.JsonSchema;
|
|||
|
||||
@jsonSchema("/modules/copy.json")
|
||||
model CopyModule {
|
||||
/** The copy module is a short-hand method of adding a COPY instruction into the Containerfile.
|
||||
* https://blue-build.org/reference/modules/copy/
|
||||
*/
|
||||
type: "containerfile";
|
||||
/** The copy module is a short-hand method of adding a COPY instruction into the Containerfile.
|
||||
* https://blue-build.org/reference/modules/copy/
|
||||
*/
|
||||
type: "copy";
|
||||
|
||||
/** Equivalent to the --from property in a COPY statement, use to specify an image to copy from.
|
||||
* By default, the COPY source is the build environment's file tree.
|
||||
*/
|
||||
from?: string;
|
||||
/** Equivalent to the --from property in a COPY statement, use to specify an image to copy from.
|
||||
* By default, the COPY source is the build environment's file tree.
|
||||
*/
|
||||
from?: string;
|
||||
|
||||
/** Path to source file or directory. */
|
||||
src: string;
|
||||
/** Path to source file or directory. */
|
||||
src: string;
|
||||
|
||||
/** Path to destination file or directory. */
|
||||
dest: string;
|
||||
}
|
||||
/** Path to destination file or directory. */
|
||||
dest: string;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue