fixed youdis shortsha syntax
All checks were successful
weekly, if new yt-dlp, build + push container to docker/gitea / build (push) Successful in 2m29s

This commit is contained in:
2025-08-24 15:35:21 -04:00
parent 690f97ed82
commit 81619074d7
3 changed files with 57 additions and 25 deletions

View File

@@ -1,4 +1,4 @@
name: build + push containers to gitea (every) and docker (daily)
name: weekly, if new yt-dlp, build + push container to docker/gitea
on:
push:
@@ -22,6 +22,7 @@ jobs:
exit 1
fi
echo "youdis-version=$YOUDIS_VER" >> $GITHUB_OUTPUT
echo "shortsha=${GITHUB_SHA::7}" >> $GITHUB_OUTPUT
- name: Get latest yt-dlp version
id: ytdlp
@@ -68,7 +69,7 @@ jobs:
push: true
tags: |
eulaly/youdis:latest
eulaly/youdis:ytldlp-${{ steps.ytdlp.outputs.ytdlp-version }}.youdis-${{ github.sha::7 }}
eulaly/youdis:ytldlp-${{ steps.ytdlp.outputs.ytdlp-version }}.youdis-${{ steps.youdis.outputs.shortsha }}
labels: |
YOUDIS_VERSION=${{ steps.youdis.outputs.youdis-version }}
YTDLP_VERSION=${{ steps.ytdlp.outputs.ytdlp-version }}
@@ -87,7 +88,7 @@ jobs:
push: true
tags: |
git.hgsky.me/ben/youdis/youdis:latest
git.hgsky.me/ben/youdis/youdis:ytldlp-${{ steps.ytdlp.outputs.ytdlp-version }}.youdis-${{ github.sha::7 }}
git.hgsky.me/ben/youdis/youdis:ytldlp-${{ steps.ytdlp.outputs.ytdlp-version }}.youdis-${{ steps.youdis.outputs.shortsha }}
labels: |
YOUDIS_VERSION=${{ steps.youdis.outputs.youdis-version }}
YTDLP_VERSION=${{ steps.ytdlp.outputs.ytdlp-version }}