From 81a6499ee824698c523fba2fcf2400b0c70ff9bc Mon Sep 17 00:00:00 2001 From: Thomas Boerger Date: Tue, 22 Jan 2019 11:27:13 +0100 Subject: [PATCH] Export required env variables within readme --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 48ecc6a..b4bd438 100644 --- a/README.md +++ b/README.md @@ -8,13 +8,18 @@ [![Go Doc](https://godoc.org/github.com/drone-plugins/drone-docker?status.svg)](http://godoc.org/github.com/drone-plugins/drone-docker) [![Go Report](https://goreportcard.com/badge/github.com/drone-plugins/drone-docker)](https://goreportcard.com/report/github.com/drone-plugins/drone-docker) -Drone plugin to build and publish Docker images to a container registry. +Drone plugin to build and publish Docker images to a container registry. For the usage information and a listing of the available options please take a look at [the docs](http://plugins.drone.io/drone-plugins/drone-docker/). ## Build Build the binaries with the following commands: ``` +export GOOS=linux +export GOARCH=amd64 +export CGO_ENABLED=0 +export GO111MODULE=on + go test -cover ./... go build -v -a -tags netgo -o release/linux/amd64/drone-docker ./cmd/drone-docker