Port docker.#Copy to hidden fields
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
This commit is contained in:
parent
a129f62042
commit
a3f586c6ab
@ -42,18 +42,18 @@ import (
|
|||||||
dest: string | *"/"
|
dest: string | *"/"
|
||||||
|
|
||||||
// Execute copy operation
|
// Execute copy operation
|
||||||
copy: engine.#Copy & {
|
_copy: engine.#Copy & {
|
||||||
"input": input.rootfs
|
"input": input.rootfs
|
||||||
"source": {
|
"source": {
|
||||||
root: contents
|
root: contents
|
||||||
path: source
|
path: source
|
||||||
}
|
}
|
||||||
dest: copy.dest
|
"dest": dest
|
||||||
}
|
}
|
||||||
|
|
||||||
output: #Image & {
|
output: #Image & {
|
||||||
config: input.config
|
config: input.config
|
||||||
rootfs: copy.output
|
rootfs: _copy.output
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user