Skip to content

Commit

Permalink
Refine script.
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Nov 11, 2023
1 parent 82ba7f6 commit efc4e42
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,9 @@ jobs:
registry.cn-hangzhou.aliyuncs.com/ossrs/web:$SRS_MAJOR
END
bash /root/restart_docs-statics.sh
#
# Cleanup old docker images.
for image in $(docker images |grep '<none>' |awk '{print $3}'); do
docker rmi -f $image
echo "Remove image $image, r0=$?"
done

0 comments on commit efc4e42

Please sign in to comment.