From da903e4d819fe6e424e0ac90655189cf9466b4b1 Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Sun, 27 Aug 2017 12:29:08 -0700 Subject: [PATCH] update readme --- README.md | 23 +++-------------------- 1 file changed, 3 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index dae4d22..4da25ee 100644 --- a/README.md +++ b/README.md @@ -1,21 +1,13 @@ # drone-docker -[![Build Status](http://beta.drone.io/api/badges/drone-plugins/drone-docker/status.svg)](http://beta.drone.io/drone-plugins/drone-docker) -[![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) -[![Join the chat at https://gitter.im/drone/drone](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/drone/drone) - -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/). +Drone plugin to build and publish Docker images to a container registry. ## Build Build the binary with the following commands: ``` -go build -go test +sh .drone.sh ``` ## Docker @@ -23,16 +15,7 @@ go test Build the Docker image with the following commands: ``` -CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -tags netgo -docker build --rm=true -t plugins/docker . -``` - -Please note incorrectly building the image for the correct x64 linux and with -CGO disabled will result in an error when running the Docker image: - -``` -docker: Error response from daemon: Container command -'/bin/drone-docker' not found or does not exist.. +docker build --rm=true -f docker/Dockerfile -t plugins/docker . ``` ## Usage