Compare commits

...

2 Commits

Author SHA1 Message Date
giaogiao e1523089d5 修改打包脚本
continuous-integration/drone/push Build is passing Details
2023-09-25 11:41:36 +08:00
giaogiao d3c83c4d76 更新dockerfile 2023-09-25 11:35:12 +08:00
2 changed files with 2 additions and 1 deletions

View File

@ -11,7 +11,7 @@ RUN mkdir -p /app && sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /et
WORKDIR /app
# 这个go-app 是上面.drone.yml里面编译生成的文件酌情修改
COPY /root/web/linux_amd64_main ./
COPY linux_amd64_main ./
ENV TZ=Asia/Shanghai
EXPOSE 1323

View File

@ -49,3 +49,4 @@ do
CGO_ENABLED=0 GOOS=${array[0]} GOARCH=${array[1]} go build -o ${array[0]}_${array[1]}_main${extension}
done
pwd