Merge pull request #1410 from helderco/port-copy

Port docker.#Copy to hidden fields
This commit is contained in:
Gerhard Lazu 2022-01-13 08:43:55 +00:00 committed by GitHub
commit ffcc21a298
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,18 +42,18 @@ import (
dest: string | *"/"
// Execute copy operation
copy: engine.#Copy & {
_copy: engine.#Copy & {
"input": input.rootfs
"source": {
root: contents
path: source
}
dest: copy.dest
"dest": dest
}
output: #Image & {
config: input.config
rootfs: copy.output
rootfs: _copy.output
}
}