Browse Source

docs: update

update-packer-186
Bo-Yi Wu 5 years ago
parent
commit
cb113fd108
  1. 15
      README.md

15
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 .
```

Loading…
Cancel
Save