1
0
mirror of https://github.com/rancher/os.git synced 2025-09-01 06:40:31 +00:00

Add info telling me how to release

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
Sven Dowideit
2016-11-24 01:35:27 +00:00
parent 84ed484196
commit 67ab66f95d
4 changed files with 26 additions and 9 deletions

View File

@@ -7,6 +7,10 @@ BASE=images
source $(dirname $0)/version
cd $(dirname $0)/..
mkdir -p dist
rm -f dist/images
touch dist/images
for i in $BASE/[0-9]*; do
name="os-$(echo ${i} | cut -f2 -d-)"
tag="${OS_REPO}/${name}:${VERSION}${SUFFIX}"
@@ -17,6 +21,7 @@ for i in $BASE/[0-9]*; do
if dapper -d --build -f ${i}/Dockerfile -- -t rancher/${name} ${i}; then
docker tag rancher/${name} ${tag}
echo "${tag}" >> dist/images
elif [ "$?" != "42" ]; then
exit 1
else