mirror of
https://github.com/rancher/cli.git
synced 2026-02-05 09:48:36 +01:00
15 lines
209 B
Bash
Executable File
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}
|