🔥
This commit is contained in:
parent
999fea0454
commit
4879dbd7a0
@ -24,5 +24,3 @@ steps:
|
|||||||
when:
|
when:
|
||||||
status:
|
status:
|
||||||
- "success"
|
- "success"
|
||||||
- echo hello
|
|
||||||
- echo world
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM golang:1.18 as builder
|
FROM golang:alpine as builder
|
||||||
|
|
||||||
ENV GO111MODULE=on \
|
ENV GO111MODULE=on \
|
||||||
GOPROXY=https://goproxy.cn,direct
|
GOPROXY=https://goproxy.cn,direct
|
||||||
@ -12,7 +12,6 @@ COPY . .
|
|||||||
|
|
||||||
RUN GOOS=linux GOARCH=amd64 go build .
|
RUN GOOS=linux GOARCH=amd64 go build .
|
||||||
|
|
||||||
|
|
||||||
FROM alpine
|
FROM alpine
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
Loading…
Reference in New Issue
Block a user