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:
@@ -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}
|
||||
|
Reference in New Issue
Block a user