1
0
mirror of https://github.com/Luzifer/vault-patch.git synced 2024-09-19 10:23:00 +00:00

Add building blocks

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2017-06-19 13:54:45 +02:00
parent dace575f49
commit 3d1f4bffd0
Signed by: luzifer
GPG Key ID: DC2729FDD34BE99E
2 changed files with 18 additions and 0 deletions

10
.repo-runner.yaml Normal file
View File

@ -0,0 +1,10 @@
---
image: "quay.io/luzifer/repo-runner-image"
checkout_dir: /go/src/github.com/Luzifer/vault-patch
commands:
- make publish
environment:
CGO_ENABLED: 0

8
Makefile Normal file
View File

@ -0,0 +1,8 @@
default: install
publish:
curl -sSLo golang.sh https://raw.githubusercontent.com/Luzifer/github-publish/master/golang.sh
bash golang.sh
install:
go install -ldflags='-X main.version=$(shell git describe --tags || git rev-parse --short HEAD)'