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