From 065b6300a47896040b335e1175f8c005d2751315 Mon Sep 17 00:00:00 2001 From: iceBear67 Date: Sat, 22 Mar 2025 14:44:29 +0800 Subject: [PATCH] add auto roll --- build.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index b40b009..a3073bf 100644 --- a/build.sh +++ b/build.sh @@ -4,4 +4,7 @@ if test $? == 0; then exit fi -docker buildx build . --tag workspace:$GIT_REV +# That will untag :latest, but will leave git rev in place. +docker rmi workspace:latest + +docker buildx build . --tag workspace:$GIT_REV -t workspace:latest