fix(Makefile): use remote environment variable
This commit is contained in:
parent
8aa6db6b7d
commit
525a250f3c
11
Makefile
11
Makefile
@ -32,12 +32,7 @@ container-build:
|
||||
volkerraschek/build-image:1.0.0 \
|
||||
make build UID=${UID} GID=${GID} VERSION=${VERSION} GOOS=${GOOS} GOARCH=${GOARCH}
|
||||
|
||||
hades:
|
||||
remote:
|
||||
$(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"
|
||||
scp flucky ${FLUCKY_REMOTE}:/usr/local/bin
|
||||
ssh ${FLUCKY_REMOTE} "chmod +x /usr/local/bin/flucky"
|
Loading…
Reference in New Issue
Block a user