13 lines
252 B
Bash
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"
|