From cb113fd108bf686c7dabc482566c74c00d3df961 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Thu, 10 Oct 2019 01:19:14 +0800 Subject: [PATCH] docs: update --- README.md | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 6c4181f..774bdb7 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ # drone-packer [![GoDoc](https://godoc.org/github.com/appleboy/drone-packer?status.svg)](https://godoc.org/github.com/appleboy/drone-packer) -[![Build Status](http://drone.wu-boy.com/api/badges/appleboy/drone-packer/status.svg)](http://drone.wu-boy.com/appleboy/drone-packer) +[![Build Status](https://cloud.drone.io/api/badges/appleboy/drone-packer/status.svg)](https://cloud.drone.io/appleboy/drone-packer) [![codecov](https://codecov.io/gh/appleboy/drone-packer/branch/master/graph/badge.svg)](https://codecov.io/gh/appleboy/drone-packer) [![Go Report Card](https://goreportcard.com/badge/github.com/appleboy/drone-packer)](https://goreportcard.com/report/github.com/appleboy/drone-packer) [![Docker Pulls](https://img.shields.io/docker/pulls/appleboy/drone-packer.svg)](https://hub.docker.com/r/appleboy/drone-packer/) -[![](https://images.microbadger.com/badges/image/appleboy/drone-packer.svg)](https://microbadger.com/images/appleboy/drone-packer "Get your own image badge on microbadger.com") +[![microbadger](https://images.microbadger.com/badges/image/appleboy/drone-packer.svg)](https://microbadger.com/images/appleboy/drone-packer "Get your own image badge on microbadger.com") [![Build status](https://ci.appveyor.com/api/projects/status/pmkfbnwtlf1fm45l/branch/master?svg=true)](https://ci.appveyor.com/project/appleboy/drone-packer/branch/master) Drone plugin for build Automated machine images with [Packer](https://www.packer.io/). 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-packer/). @@ -14,15 +14,6 @@ Drone plugin for build Automated machine images with [Packer](https://www.packer Build the binary with the following commands: -``` +```sh 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-packer -docker build --rm -t appleboy/drone-packer . -```