FFmpeg-Builds/util/vars.sh
2020-09-03 01:03:23 +02:00

13 lines
230 B
Bash

#!/bin/bash
if [[ $# -lt 1 || $# -gt 2 ]]; then
echo "Invalid Arguments"
exit -1
fi
TARGET="$1"
VARIANT="${2:-gpl}"
REPO="${GITHUB_REPOSITORY:-btbn/ffmpeg-builds}"
REPO="${REPO,,}"
IMAGE="$REPO/$TARGET-$VARIANT:latest"