更新打包文件
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
19eb8d85a5
commit
9d47858628
|
@ -48,9 +48,6 @@ steps:
|
||||||
|
|
||||||
- name: 打包Docker镜像并推送
|
- name: 打包Docker镜像并推送
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
volumes:
|
|
||||||
- name: outdir
|
|
||||||
path: /root/web
|
|
||||||
settings:
|
settings:
|
||||||
repo: linglingking/go_wol_web
|
repo: linglingking/go_wol_web
|
||||||
use_cache: true
|
use_cache: true
|
||||||
|
|
3
bulid.sh
3
bulid.sh
|
@ -45,6 +45,7 @@ do
|
||||||
fi
|
fi
|
||||||
echo "Start compiling the system:${array[0]} architecture:${array[1]}"
|
echo "Start compiling the system:${array[0]} architecture:${array[1]}"
|
||||||
# echo "CGO_ENABLED=0 GOOS=${array[0]} GOARCH=${array[1]} go build -o /root/web/${array[0]}_${array[1]}_main${extension}"
|
# echo "CGO_ENABLED=0 GOOS=${array[0]} GOARCH=${array[1]} go build -o /root/web/${array[0]}_${array[1]}_main${extension}"
|
||||||
CGO_ENABLED=0 GOOS=${array[0]} GOARCH=${array[1]} go build -o /root/web/${array[0]}_${array[1]}_main${extension}
|
# CGO_ENABLED=0 GOOS=${array[0]} GOARCH=${array[1]} go build -o /root/web/${array[0]}_${array[1]}_main${extension}
|
||||||
|
CGO_ENABLED=0 GOOS=${array[0]} GOARCH=${array[1]} go build -o ${array[0]}_${array[1]}_main${extension}
|
||||||
|
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue