mirror of
https://github.com/rancher/os.git
synced 2025-08-31 22:32:14 +00:00
Fix make vmware
This commit is contained in:
@@ -13,8 +13,8 @@ for i in $IMAGES; do
|
||||
done
|
||||
|
||||
if [ -e ".make-vmware" ]; then
|
||||
docker pull rancher/os-openvmtools:10.2.5-1
|
||||
IMAGES="$IMAGES rancher/os-openvmtools:10.2.5-1"
|
||||
docker pull rancher/os-openvmtools:${OPEN_VMTOOLS_VERSION}
|
||||
IMAGES="$IMAGES rancher/os-openvmtools:${OPEN_VMTOOLS_VERSION}"
|
||||
fi
|
||||
|
||||
echo "tar-images: docker save ${IMAGES} > build/images.tar"
|
||||
|
@@ -5,4 +5,16 @@ cd $(dirname $0)/..
|
||||
|
||||
touch .make-vmware
|
||||
|
||||
source ./scripts/version
|
||||
./scripts/release
|
||||
|
||||
ISO_NAME="rancheros-vmware.iso"
|
||||
|
||||
mkdir -p /tmp/dist && mv ./dist/* /tmp/dist/
|
||||
mkdir -p ./dist/vmware && mv /tmp/dist/* ./dist/vmware/
|
||||
mkdir -p ./dist/artifacts && cp ./dist/vmware/artifacts/rancheros.iso ./dist/artifacts/${ISO_NAME}
|
||||
|
||||
echo "github-release upload --user rancher --repo os --tag ${VERSION} --file ./dist/artifacts/${ISO_NAME} --name ${ISO_NAME}" > ./dist/publish.sh
|
||||
echo "gsutil cp dist/artifacts/${ISO_NAME} gs://releases.rancher.com/os/latest/${ISO_NAME}" > ./dist/publish_gss_latest.sh
|
||||
echo "gsutil cp dist/artifacts/${ISO_NAME} gs://releases.rancher.com/os/${VERSION}/${ISO_NAME}" > ./dist/publish_gss_${VERSION}.sh
|
||||
chmod 755 ./dist/*.sh
|
||||
|
Reference in New Issue
Block a user