mongo-replica-initializer/.woodpecker

13 lines
296 B
Text
Raw Normal View History

2024-05-13 07:56:32 +00:00
steps:
build:
when:
event: [push, pull_request]
image: docker.io/library/ubuntu:latest
2024-05-13 07:56:32 +00:00
commands:
2024-05-16 08:04:37 +00:00
- apt update
2024-05-16 08:38:20 +00:00
- apt install -y ca-certificates curl golang
2024-05-13 07:56:32 +00:00
- go get
- go build
2024-05-16 08:38:20 +00:00
- ./main
volumes:
- /var/run/docker.sock:/var/run/docker.sock