Export required env variables within readme
This commit is contained in:
parent
3ab94b020a
commit
81a6499ee8
@ -8,13 +8,18 @@
|
||||
[](http://godoc.org/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
|
||||
|
Loading…
Reference in New Issue
Block a user