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 @@ -117,7 +117,7 @@ blob-darwin:
117
117
118
118
.PHONY : container
119
119
container : blob
120
- docker build -t $(CSI_IMAGE_TAG ) --output=type=docker -f ./pkg/blobplugin/Dockerfile .
120
+ docker build -t $(CSI_IMAGE_TAG ) --build-arg ARCH= $( ARCH ) -- output=type=docker -f ./pkg/blobplugin/Dockerfile .
121
121
122
122
.PHONY : container-linux
123
123
container-linux :
Original file line number Diff line number Diff line change @@ -23,6 +23,13 @@ if [[ "$#" -gt 0 ]]; then
23
23
DRIVER=$1
24
24
fi
25
25
26
+ cleanup () {
27
+ echo " hit unexpected error during log print, exit 0"
28
+ exit 0
29
+ }
30
+
31
+ trap cleanup ERR
32
+
26
33
echo " print out all nodes status ..."
27
34
kubectl get nodes -o wide
28
35
echo " ======================================================================================"
You can’t perform that action at this time.
0 commit comments