Compare commits
2 Commits
8aec2794e8
...
8eea124257
Author | SHA1 | Date | |
---|---|---|---|
8eea124257 | |||
4879dbd7a0 |
@ -25,5 +25,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