File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ blob-darwin:
114114
115115.PHONY : container
116116container : blob
117- docker build -t $(CSI_IMAGE_TAG ) --output=type=docker -f ./pkg/blobplugin/Dockerfile .
117+ docker build -t $(CSI_IMAGE_TAG ) --build-arg ARCH= $( ARCH ) -- output=type=docker -f ./pkg/blobplugin/Dockerfile .
118118
119119.PHONY : container-linux
120120container-linux :
Original file line number Diff line number Diff line change @@ -23,6 +23,13 @@ if [[ "$#" -gt 0 ]]; then
2323 DRIVER=$1
2424fi
2525
26+ cleanup () {
27+ echo " hit unexpected error during log print, exit 0"
28+ exit 0
29+ }
30+
31+ trap cleanup ERR
32+
2633echo " print out all nodes status ..."
2734kubectl get nodes -o wide
2835echo " ======================================================================================"
You can’t perform that action at this time.
0 commit comments