Actually build
This commit is contained in:
parent
cbb86a4d0e
commit
57ca78ac1d
6 changed files with 95 additions and 7 deletions
18
makeimage.sh
Executable file
18
makeimage.sh
Executable file
|
@ -0,0 +1,18 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
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,,}"
|
||||
|
||||
./generate.sh "$TARGET" "$VARIANT"
|
||||
|
||||
exec docker build -t "$REPO/$TARGET-$VARIANT:latest" .
|
Loading…
Add table
Add a link
Reference in a new issue