Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
parent
58ebe4221a
commit
5b106c4af7
1 changed files with 12 additions and 11 deletions
|
@ -1,18 +1,19 @@
|
|||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
# drone
|
||||
if [ -n "$DRONE_TAG" ]; then
|
||||
TAG=$DRONE_TAG
|
||||
fi
|
||||
# woodpecker
|
||||
if [ -n "$CI_COMMIT_TAG" ]; then
|
||||
TAG=$CI_COMMIT_TAG
|
||||
fi
|
||||
|
||||
if [ -z "$TAG" ]; then
|
||||
echo "\$TAG not set, exiting"
|
||||
exit 1
|
||||
# drone
|
||||
if [ -n "$DRONE_TAG" ]; then
|
||||
TAG=$DRONE_TAG
|
||||
fi
|
||||
# woodpecker
|
||||
if [ -n "$CI_COMMIT_TAG" ]; then
|
||||
TAG=$CI_COMMIT_TAG
|
||||
fi
|
||||
if [ -z "$TAG" ]; then
|
||||
echo "\$TAG not set, exiting"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
arches=("amd64" "386" "armv6" "arm64")
|
||||
|
|
Reference in a new issue