mongo-replica-initializer/.woodpecker

14 lines
323 B
Plaintext

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