rove/script/build.sh
Marc Di Luzio 88087e0338 Implement most rove commands
Need to finish up /commands

	Need to pretify output of others
2020-06-05 19:08:36 +01:00

12 lines
No EOL
359 B
Bash
Executable file

#!/bin/bash
set -e
cd "$(dirname "$0")"
cd ..
set -x
# Generate a version string
export VERSION=$(git describe --always --long --dirty --tags)
# Build and tag as latest and version
docker build -t "rove:latest" -t "rove:${VERSION}" -f "cmd/rove/Dockerfile" .
docker build -t "rove-server:latest" -t "rove-server:${VERSION}" -f "cmd/rove-server/Dockerfile" .