1
0
mirror of https://github.com/rancher/cli.git synced 2026-02-05 09:48:36 +01:00
Files
cli/scripts/package
Darren Shepherd fd5da291c4 Initial Commit
2016-05-26 20:00:15 -07:00

15 lines
209 B
Bash
Executable File

#!/bin/bash
set -e
source $(dirname $0)/version
cd $(dirname $0)/../package
TAG=${TAG:-${VERSION}}
REPO=${REPO:-rancher}
cp ../bin/cli .
docker build -t ${REPO}/cli:${TAG} .
echo Built ${REPO}/cli:${TAG}