Update manifest

This commit is contained in:
Erik Wilson
2020-01-20 13:29:48 -07:00
parent 341a55536d
commit 211d735a08
3 changed files with 43 additions and 8 deletions

16
scripts/manifest Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/sh
if [ -z "${DRONE_TAG}" ]; then
echo "DRONE_TAG not defined" >&2
exit 1
fi
set -e -x
export REPO="rancher/k3s"
export DRONE_TAG=$(echo "${DRONE_TAG}" | sed -e 's/+/-/g')
export PLUGIN_TARGET="${REPO}:${DRONE_TAG}"
export PLUGIN_TEMPLATE="${REPO}:${DRONE_TAG}-ARCH"
export PLUGIN_PLATFORMS="linux/amd64,linux/arm64,linux/arm"
drone-manifest