build 处理
ci/woodpecker/push/build Pipeline failed
Details
ci/woodpecker/push/build Pipeline failed
Details
This commit is contained in:
parent
e8627d1e15
commit
4b90fcf5e1
|
@ -1,9 +1,4 @@
|
||||||
steps:
|
steps:
|
||||||
- name: install
|
|
||||||
image: golang:1.21.6
|
|
||||||
commands:
|
|
||||||
- go mod tidy
|
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: golang:1.21.6
|
image: golang:1.21.6
|
||||||
commands:
|
commands:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# 表示依赖 alpine 最新版
|
# 表示依赖 alpine 最新版
|
||||||
FROM debian:latest
|
FROM debian:12.5-slim
|
||||||
MAINTAINER Wang Chen Chen<932560435@qq.com>
|
MAINTAINER Lianglianglee<lll941107@gmail.com>
|
||||||
ENV VERSION 1.0
|
ENV VERSION 1.0
|
||||||
|
|
||||||
# 在容器根目录 创建一个 apps 目录
|
# 在容器根目录 创建一个 apps 目录
|
||||||
|
@ -9,7 +9,7 @@ WORKDIR /apps
|
||||||
# 挂载容器目录
|
# 挂载容器目录
|
||||||
VOLUME ["/apps/config"]
|
VOLUME ["/apps/config"]
|
||||||
|
|
||||||
# 拷贝当前目录下 go_docker_demo1 可以执行文件
|
# 拷贝当前目录下可以执行文件,配置文件等
|
||||||
COPY md-view-go /apps/md-view-go
|
COPY md-view-go /apps/md-view-go
|
||||||
COPY static /apps/static
|
COPY static /apps/static
|
||||||
COPY templates /apps/templates
|
COPY templates /apps/templates
|
||||||
|
|
Loading…
Reference in New Issue