1
0
Fork 0
mirror of https://github.com/Luzifer/vault-patch.git synced 2024-11-09 18:00:09 +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)'