mongo-replica-initializer/.woodpecker

13 lines
295 B
Text
Raw Normal View History

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