try a new implementation of ci using ubuntu base image
This commit is contained in:
parent
d9bfb6ff01
commit
6fffffb834
1 changed files with 4 additions and 2 deletions
|
@ -2,7 +2,9 @@ steps:
|
||||||
build:
|
build:
|
||||||
when:
|
when:
|
||||||
event: [push, pull_request]
|
event: [push, pull_request]
|
||||||
image: docker.io/library/golang:latest
|
image: docker.io/library/ubuntu:latest
|
||||||
commands:
|
commands:
|
||||||
|
- apt install -y golang
|
||||||
- go get
|
- go get
|
||||||
- go build
|
- go build
|
||||||
|
- ./main
|
Loading…
Reference in a new issue