fix: Makefile and json log
This commit is contained in:
12
Makefile
12
Makefile
@ -20,8 +20,18 @@ build:
|
||||
go build -ldflags "-X main.version=${VERSION}"
|
||||
chown -R ${UID}:${GID} *
|
||||
|
||||
docker-build:
|
||||
container-build:
|
||||
docker run \
|
||||
--volume ${PWD}:/workspace \
|
||||
volkerraschek/build-image:1.0.0 \
|
||||
make build UID=${UID} GID=${GID} VERSION=${VERSION} GOOS=${GOOS} GOARCH=${GOARCH}
|
||||
|
||||
hades:
|
||||
$(MAKE) build GOARCH=arm
|
||||
scp flucky hades.hellenthal.cryptic.systems:/usr/local/bin
|
||||
ssh hades.hellenthal.cryptic.systems "chmod +x /usr/local/bin/flucky"
|
||||
|
||||
poseidon:
|
||||
$(MAKE) build GOARCH=arm
|
||||
scp flucky poseidon.trier.cryptic.systems:/usr/local/bin
|
||||
ssh poseidon.trier.cryptic.systems "chmod +x /usr/local/bin/flucky"
|
Reference in New Issue
Block a user