mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-25 01:40:30 +00:00
18 lines
389 B
YAML
18 lines
389 B
YAML
|
workspace:
|
||
|
base: /go
|
||
|
path: src/github.com/drone/envsubst
|
||
|
|
||
|
clone:
|
||
|
git:
|
||
|
image: plugins/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/
|