Skip to content

Commit

Permalink
Fix plugin disable command to use dynamic variables
Browse files Browse the repository at this point in the history
  • Loading branch information
guoard authored Dec 3, 2024
1 parent 7c7a5a7 commit e551bcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/seaweedfs-csi-driver/swarm/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit e551bcf

Please sign in to comment.