0
0
mirror of https://github.com/thegeeklab/wp-docker-buildx.git synced 2024-11-22 00:00:40 +00:00

Merge pull request #42 from drone-plugins/feature/additions

Makefile, gitignore and MAINTAINERS improvements
This commit is contained in:
Thomas Boerger 2016-02-26 09:48:22 +01:00
commit 35c94a1ad7
5 changed files with 26 additions and 8 deletions

1
.gitignore vendored
View File

@ -23,4 +23,5 @@ _testmain.go
*.test
*.prof
coverage.out
drone-docker

View File

@ -4,6 +4,8 @@
email = "brad@drone.io"
login = "bradrydzewski"
[people.Bugagazavr]
name = "Kirill"
email = ""
login = "Bugagazavr"
[people.donny-dont]
name = "Don Olmstead"
@ -23,9 +25,22 @@
login = "nlf"
[people.tboerger]
name = "Thomas Boerger"
email = ""
email = "thomas@webhippie.de"
login = "tboerger"
[people.athieriot]
name = "Aurélien Thieriot"
email = "a.thieriot@gmail.com"
login = "athieriot"
[org]
[org.core]
people = ["bradrydzewski", "Bugagazavr", "donny-dont", "jackspirou", "msteinert", "nlf", "tboerger"]
people = [
"bradrydzewski",
"Bugagazavr",
"donny-dont",
"jackspirou",
"msteinert",
"nlf",
"tboerger",
"athieriot"
]

View File

@ -1,12 +1,14 @@
.PHONY: clean deps fmt vet test docker
.PHONY: all clean deps fmt vet test docker
EXECUTABLE ?= drone-docker
IMAGE ?= plugins/$(EXECUTABLE)
CI_BUILD_NUMBER ?= 0
COMMIT ?= $(shell git rev-parse --short HEAD)
LDFLAGS = -X "main.buildDate=$(shell date -u '+%Y-%m-%d %H:%M:%S %Z')"
LDFLAGS = -X "main.buildCommit=$(COMMIT)"
PACKAGES = $(shell go list ./... | grep -v /vendor/)
all: deps build test
clean:
go clean -i ./...

View File

@ -4,7 +4,7 @@
[![Coverage Status](https://aircover.co/badges/drone-plugins/drone-docker/coverage.svg)](https://aircover.co/drone-plugins/drone-docker)
[![](https://badge.imagelayers.io/plugins/drone-docker:latest.svg)](https://imagelayers.io/?images=plugins/drone-docker:latest 'Get your own badge on imagelayers.io')
Drone plugin to build and publish images to a Docker registry
Drone plugin to build and publish images to a Docker registry. For the usage information and a listing of the available options please take a look at [the docs](DOCS.md).
## Docker

View File

@ -41,11 +41,11 @@ type Docker struct {
}
var (
buildDate string
buildCommit string
)
func main() {
fmt.Printf("Drone Docker Plugin built at %s\n", buildDate)
fmt.Printf("Drone Docker Plugin built from %s\n", buildCommit)
workspace := plugin.Workspace{}
build := plugin.Build{}