mirror of
https://github.com/BtbN/FFmpeg-Builds.git
synced 2025-06-13 13:57:39 +02:00
Implement build logic
This commit is contained in:
13
util/vars.sh
Normal file
13
util/vars.sh
Normal file
@ -0,0 +1,13 @@
|
||||
#!/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"
|
Reference in New Issue
Block a user