mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-07-28 20:59:30 +00:00
Initial Commit
This commit is contained in:
17
scripts/package-image
Executable file
17
scripts/package-image
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
source $(dirname $0)/version
|
||||
|
||||
cd $(dirname $0)/../package
|
||||
|
||||
TAG=${TAG:-${VERSION}${SUFFIX}}
|
||||
REPO=${REPO:-rancher}
|
||||
|
||||
cp ../bin/rio ./rio
|
||||
|
||||
IMAGE=${REPO}/rio:${TAG}
|
||||
docker build -t ${IMAGE} .
|
||||
mkdir -p ../dist
|
||||
echo ${IMAGE} > ../dist/images
|
||||
echo Built ${IMAGE}
|
||||
Reference in New Issue
Block a user