pip3 install alpine
cicd / ci (push) Successful in 10m46s
Details
cicd / ci (push) Successful in 10m46s
Details
parent
932e396341
commit
26864f64d4
16
build.sh
16
build.sh
|
|
@ -4,7 +4,11 @@ main() {
|
|||
set -eo pipefail
|
||||
|
||||
if ! which pip3; then
|
||||
apt install -y pip3
|
||||
if which apk; then
|
||||
apk update && apk add py3-pip
|
||||
else
|
||||
apt install -y pip3
|
||||
fi
|
||||
fi
|
||||
|
||||
cd_work_d
|
||||
|
|
@ -15,7 +19,15 @@ main() {
|
|||
head_ts="$(cd "$ytdlp2STRM_d"; git log -n 1 --format=%as)"
|
||||
echo head_ts=$head_ts
|
||||
|
||||
yt_dlp_latest="$(pip3 index versions yt-dlp | grep LATEST | awk '{print $NF}')"
|
||||
yt_dlp_latest="$(
|
||||
pip3 index versions yt-dlp \
|
||||
| grep '^Available.versions:' \
|
||||
| tr ' ' '\n' \
|
||||
| grep -v 'Available.versions:' \
|
||||
| sort -n \
|
||||
| tail -n 1 \
|
||||
| tr -d ','
|
||||
)"
|
||||
echo yt_dlp_latest=$yt_dlp_latest
|
||||
|
||||
img=registry-app.inhome.blapointe.com:5001/bel/ytdlp2strm
|
||||
|
|
|
|||
Loading…
Reference in New Issue