FFmpeg-Builds/util/vars.sh
2020-09-03 02:54:36 +02:00

13 lines
252 B
Bash

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