Docker image (#22)
- Config file now is inside a config folder by default, to make easier docker integration. - File not found errors now are debug log outputs. - Added dependabot integration for github action versions. Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
This commit is contained in:
parent
8882d80232
commit
0a4438b1ad
7 changed files with 126 additions and 5 deletions
5
Makefile
5
Makefile
|
@ -2,6 +2,7 @@
|
|||
|
||||
VERSION := $(shell git describe --tags)
|
||||
BUILD := $(shell git rev-parse --short HEAD)
|
||||
BIN_OUTPUT ?= bin/distribyted-$(VERSION)-`go env GOOS`-`go env GOARCH``go env GOEXE`
|
||||
PROJECTNAME := $(shell basename "$(PWD)")
|
||||
|
||||
go-cross-compile: GOPATH=~/go
|
||||
|
@ -29,8 +30,8 @@ test:
|
|||
cross-compile: go-generate go-cross-compile
|
||||
|
||||
go-build:
|
||||
@echo " > Building binary..."
|
||||
go build -o bin/distribyted-$(VERSION)-`go env GOOS`-`go env GOARCH``go env GOEXE` -tags "release" -ldflags='$(LDFLAGS)' cmd/distribyted/main.go
|
||||
@echo " > Building binary on $(BIN_OUTPUT)..."
|
||||
go build -o $(BIN_OUTPUT) -tags "release" -ldflags='$(LDFLAGS)' cmd/distribyted/main.go
|
||||
|
||||
go-generate:
|
||||
@echo " > Generating code files..."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue