Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
d2jvkpn committed Jan 2, 2025
1 parent 4462976 commit b6737fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion container/vue-web/deploy/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ docker build --no-cache --tag $image \

docker image prune --force --filter label=app=${app_name} --filter label=stage=build &> /dev/null

for img in $(docker images --filter "dangling=true" --quiet $image); do
# docker images --filter "dangling=true" --quiet $image | xargs -i docker rmi {}
for img in $(docker images --filter=dangling=true --filter=label=app=$app_name --quiet); do
docker rmi $img || true
done

0 comments on commit b6737fe

Please sign in to comment.