fix typos [skip ci]

This commit is contained in:
Tony Li 2017-08-10 18:46:30 -04:00
parent b02ecf7f9b
commit b42a8df3fc
1 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@
[![Go Report](https://goreportcard.com/badge/github.com/drone-plugins/drone-docker)](https://goreportcard.com/report/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)
[![Join the chat at https://gitter.im/drone/drone](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/drone/drone) [![Join the chat at https://gitter.im/drone/drone](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/drone/drone)
Drone plugin can be used to build and publish Docker images to a container Drone plugin to build and publish Docker images to a container
registry. For the usage information and a listing of the available options 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/). please take a look at [the docs](http://plugins.drone.io/drone-plugins/drone-docker/).
@ -20,7 +20,7 @@ go test
## Docker ## Docker
Build the docker image with the following commands: Build the Docker image with the following commands:
``` ```
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -tags netgo CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -tags netgo
@ -28,7 +28,7 @@ docker build --rm=true -t plugins/docker .
``` ```
Please note incorrectly building the image for the correct x64 linux and with Please note incorrectly building the image for the correct x64 linux and with
GCO disabled will result in an error when running the Docker image: CGO disabled will result in an error when running the Docker image:
``` ```
docker: Error response from daemon: Container command docker: Error response from daemon: Container command