Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

ci: link Owncast-built ffmpeg binaries on the nightly builds page

Gabe Kangase8b003f139d1
diff --git a/.github/workflows/container.yaml b/.github/workflows/container.yaml
index 089349d9ee..9e6f113443 100644
--- a/.github/workflows/container.yaml
+++ b/.github/workflows/container.yaml
@@ -120,6 +120,11 @@ jobs:
PREFIX="nightly"
aws s3 rm "s3://$S3_BUCKET/$PREFIX/" --recursive --endpoint-url "$S3_ENDPOINT" --quiet || true
+ # Owncast-built ffmpeg binaries from the latest ffmpeg-builds release.
+ # Best effort: if the API call fails the section just lists nothing
+ # beyond the link to the releases page.
+ FFMPEG_ASSETS=$(curl -fsSL https://api.github.com/repos/owncast/ffmpeg-builds/releases/latest \
+ | jq -r '.assets[] | "<li><a href=\"\(.browser_download_url)\">\(.name)</a> (\(.size / 1048576 | floor) MB)</li>"' || true)
{
printf '%s\n' \
'<!doctype html>' \
@@ -136,6 +141,12 @@ jobs:
printf '<li><a href="%s/%s/%s/%s">%s</a> (%s)</li>\n' \
"$S3_ENDPOINT" "$S3_BUCKET" "$PREFIX" "$name" "$name" "$size"
done
+ printf '%s\n' \
+ '</ul>' \
+ '<h2>ffmpeg</h2>' \
+ '<p>Owncast-built <a href="https://github.com/owncast/ffmpeg-builds/releases/latest">ffmpeg binaries</a>:</p>' \
+ '<ul>'
+ printf '%s\n' "$FFMPEG_ASSETS"
printf '%s\n' \
'</ul>' \
'<p>Also available as a Docker image:' \