This commit is contained in:
parent
bda0879199
commit
2c3c989480
@ -6,7 +6,7 @@ steps:
|
|||||||
- name: build
|
- name: build
|
||||||
image: golang:latest
|
image: golang:latest
|
||||||
commands:
|
commands:
|
||||||
- apt install -y curl
|
- apt install -y python3-pip curl
|
||||||
- go mod download
|
- go mod download
|
||||||
- curl -sL https://git.io/goreleaser > goreleaser.sh
|
- curl -sL https://git.io/goreleaser > goreleaser.sh
|
||||||
- chmod +x goreleaser.sh
|
- chmod +x goreleaser.sh
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
FROM golang:latest
|
|
||||||
|
|
||||||
COPY . /opt/build
|
|
||||||
|
|
||||||
RUN cd /opt/build && go build *.go
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user