更新 cicd/Dockerfile
Docker Deploy / build-and-deploy (push) Failing after 17s
Details
Docker Deploy / build-and-deploy (push) Failing after 17s
Details
This commit is contained in:
parent
f7063eb581
commit
eb6b732e62
|
@ -2,7 +2,8 @@ ARG registry=registry.cn-hangzhou.aliyuncs.com/syschan
|
||||||
FROM ${registry}/golang:alpine as builder
|
FROM ${registry}/golang:alpine as builder
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN cd server && go generate && source ./cicd/bin/start/.env && go build -o ./cicd/bin/$appName -v .
|
RUN cd server && go generate
|
||||||
|
RUN go build -o ./cicd/bin/pms-server -v .
|
||||||
|
|
||||||
FROM ${registry}/alpine:latest
|
FROM ${registry}/alpine:latest
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
Loading…
Reference in New Issue