mirror of
https://github.com/rancher/cli.git
synced 2026-02-05 09:48:36 +01:00
Initial Commit
This commit is contained in:
14
scripts/package
Executable file
14
scripts/package
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/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}
|
||||
Reference in New Issue
Block a user