Skip to content

Commit 885420d

Browse files
authored
Update deploy.yml
1 parent d4bf2fd commit 885420d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@ jobs:
3939
docker image ls -a
4040
cd /home/whes1015
4141
docker compose up -d
42-
docker image rm $(docker images -f "dangling=true" -q)
42+
docker images -f "dangling=true" -q | xargs -r docker rmi
4343
docker image ls -a

0 commit comments

Comments
 (0)