1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-14 22:20:11 +00:00

Move from drone to GHA for rke 1.4 (#3616)

This commit is contained in:
mitulshah-suse
2024-07-03 03:51:04 +05:30
committed by GitHub
parent fae8f4e8f6
commit ae7d518813
11 changed files with 231 additions and 246 deletions

View File

@@ -10,23 +10,3 @@ SUFFIX=""
[ "${ARCH}" != "amd64" ] && SUFFIX="_${ARCH}"
./scripts/create-releasenote.sh
cd package
TAG=${TAG:-${VERSION}${SUFFIX}}
REPO=${REPO:-rke}
if echo $TAG | grep -q dirty; then
TAG=dev
fi
if [ -n "$DRONE_TAG" ]; then
TAG=$DRONE_TAG
fi
cp ../bin/rke .
IMAGE=${REPO}/rke:${TAG}
docker build -t ${IMAGE} .
echo ${IMAGE} > ../dist/images
echo Built ${IMAGE}