drone-anynines
Drone plugin to deploy or update a project on Anynines. For the usage information and a listing of the available options please take a look at the docs.
Build
Build the binary with the following commands:
go build
Docker
Build the Docker image with the following commands:
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -a -tags netgo -o release/linux/amd64/drone-anynines
docker build --rm -t plugins/anynines .
Usage
docker run --rm \
-e [email protected] \
-e PLUGIN_PASSWORD=password \
-e PLUGIN_ORGANIZATION=octocat_github_com \
-e PLUGIN_SPACE=production \
-v $(pwd):$(pwd) \
-w $(pwd) \
plugins/anynines