From 9d478586289baf924833a99a76dfdd3fed20a14b Mon Sep 17 00:00:00 2001 From: giaogiao Date: Mon, 25 Sep 2023 11:17:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=89=93=E5=8C=85=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 3 --- bulid.sh | 3 ++- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index f8170ed..dc579fe 100644 --- a/.drone.yml +++ b/.drone.yml @@ -48,9 +48,6 @@ steps: - name: 打包Docker镜像并推送 image: plugins/docker - volumes: - - name: outdir - path: /root/web settings: repo: linglingking/go_wol_web use_cache: true diff --git a/bulid.sh b/bulid.sh index 5cb3866..b539cc0 100644 --- a/bulid.sh +++ b/bulid.sh @@ -45,6 +45,7 @@ do fi 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}" - 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