1
0
mirror of https://github.com/rancher/os.git synced 2025-08-31 14:23:11 +00:00

Create installer image build artifact

This commit is contained in:
Josh Curl
2016-08-28 08:46:03 -07:00
parent 2b622f88dc
commit 17f0ef63b9

View File

@@ -16,5 +16,6 @@ cp ./dist/artifacts/{initrd,vmlinuz} ./scripts/installer/build
trap "rm -rf ./scripts/installer/build" EXIT
docker build -t ${OS_REPO}/os:${VERSION}${SUFFIX} --build-arg VERSION=${VERSION} -f $DOCKERFILE ./scripts/installer
docker save -o dist/artifacts/installer.tar ${OS_REPO}/os:${VERSION}${SUFFIX}
echo ${OS_REPO}/os:${VERSION}${SUFFIX} > dist/images
echo Built ${OS_REPO}/os:${VERSION}${SUFFIX}