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 1
1
version : " 3"
2
2
3
+ vars :
4
+ DOCKERIMG : ' {{ default "ghcr.io/octoprint/custopizer:latest" .DOCKERIMG }}'
5
+
3
6
tasks :
4
7
build :
5
8
cmds :
6
9
- |
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}}
8
11
preconditions :
9
12
- test -d workspace
10
13
- 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