woodpecker/pipeline/samples/sample_8_network_mode/pipeline.yml
6543 6828057f66
Switch default git plugin (#449)
* update pipeline samples

* update docs

* use woodpeckerci/plugin-git:latest as default

* code format nit
2021-10-15 19:54:28 -05:00

17 lines
401 B
YAML

workspace:
base: /go
path: src/github.com/drone/envsubst
clone:
git:
image: woodpeckerci/plugin-git
depth: 50
pipeline:
build:
image: tutum/curl
# A container named "vpn" should exist on the same docker daemon
network_mode: "container:vpn"
# Replace HOST_OR_IP with the IP or hostname of a server behind the VPN
commands:
- curl -s -f -L http://HOST_OR_IP/