File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 11version : " 3"
22
3+ vars :
4+ DOCKERIMG : ' {{ default "ghcr.io/octoprint/custopizer:latest" .DOCKERIMG }}'
5+
36tasks :
47 build :
58 cmds :
69 - |
7- {{if eq OS "windows"}}powershell {{end}}docker run --rm --privileged -v {{.USER_WORKING_DIR | toSlash}}/workspace:/CustoPiZer/workspace -v {{.USER_WORKING_DIR | toSlash}}/scripts:/CustoPiZer/workspace/scripts ghcr.io/octoprint/custopizer:latest
10+ {{if eq OS "windows"}}powershell {{end}}docker run --rm --privileged -v {{.USER_WORKING_DIR | toSlash}}/workspace:/CustoPiZer/workspace -v {{.USER_WORKING_DIR | toSlash}}/scripts:/CustoPiZer/workspace/scripts {{.DOCKERIMG}}
811 preconditions :
912 - test -d workspace
1013 - test -f workspace/input.img
14+
15+ inspect :
16+ cmds :
17+ - |
18+ {{if eq OS "windows"}}powershell {{end}}docker run -it --rm --privileged -v {{.USER_WORKING_DIR | toSlash}}/workspace/output.img:/image.img {{.DOCKERIMG}} /CustoPiZer/enter_image /image.img
19+ preconditions :
20+ - test -d workspace
21+ - test -f workspace/output.img
You can’t perform that action at this time.
0 commit comments