mongo-replica-initializer/.woodpecker

14 lines
No EOL
323 B
Text

steps:
build:
when:
event: [push, pull_request]
image: docker.io/library/ubuntu:noble
commands:
- mkdir /opt/my-mongo
- apt update
- apt install -y ca-certificates curl golang
- go get
- go build
- ./main
volumes:
- /var/run/docker.sock:/var/run/docker.sock