From e551bcf226ce64fa070c0a28665549be42255af0 Mon Sep 17 00:00:00 2001 From: Ali Afsharzadeh Date: Tue, 3 Dec 2024 07:54:50 +0330 Subject: [PATCH] Fix plugin disable command to use dynamic variables --- cmd/seaweedfs-csi-driver/swarm/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/seaweedfs-csi-driver/swarm/build.sh b/cmd/seaweedfs-csi-driver/swarm/build.sh index 6900982..d81d956 100755 --- a/cmd/seaweedfs-csi-driver/swarm/build.sh +++ b/cmd/seaweedfs-csi-driver/swarm/build.sh @@ -20,7 +20,7 @@ docker container export seawadd-csi_tmp | tar -x -C ./plugin/rootfs docker container rm -vf seawadd-csi_tmp docker image rm seawadd-csi_tmp_img -docker plugin disable gradlon/swarm-csi-swaweedfs:v1.2.0 +docker plugin disable ${PREFIX}/${PLUGIN_NAME}:${PLUGIN_TAG} 2> /dev/null || true docker plugin rm ${PREFIX}/${PLUGIN_NAME}:${PLUGIN_TAG} 2> /dev/null || true docker plugin create ${PREFIX}/${PLUGIN_NAME}:${PLUGIN_TAG} ./plugin docker plugin push ${PREFIX}/${PLUGIN_NAME}:${PLUGIN_TAG}