13 lines
No EOL
296 B
Text
13 lines
No EOL
296 B
Text
steps:
|
|
build:
|
|
when:
|
|
event: [push, pull_request]
|
|
image: docker.io/library/ubuntu:latest
|
|
commands:
|
|
- apt update
|
|
- apt install -y ca-certificates curl golang
|
|
- go get
|
|
- go build
|
|
- ./main
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock |