Commit 46f4321
authored
Update main.yml to correct docker rmi command
This replaces the failing `docker rmi $(docker image ls -aq)` command with the more flexible and versatile `docker image prune -a -f` command.
The `docker image prune -a -f` command will prune images from previous runs if they are present, and will do nothing if there are no old images present. This accomplishes the same thing that the ` docker rmi $(docker image ls -aq)` was trying to accomplish (but was failing when there were no previous/old images to find/delete)1 parent b2c0f61 commit 46f4321
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
0 commit comments