2 Commits

Author SHA1 Message Date
5a34860fca Configure ffmpeg location
All checks were successful
Build and Push Image / build-and-push (push) Successful in 4m20s
2025-07-05 22:12:27 -04:00
56106622b2 Fix Version Number
All checks were successful
Build and Push Image / build-and-push (push) Successful in 7m34s
2025-07-05 21:48:14 -04:00
2 changed files with 6 additions and 1 deletions

View File

@@ -34,4 +34,4 @@ jobs:
context: .
push: true
tags: git.kaisei.app/amatsugu/aoba:${{ env.VERSION }}
build-args: VERSION=${ env.VERSION }
build-args: VERSION=${{ env.VERSION }}

View File

@@ -132,6 +132,11 @@ public class ThumbnailService(IMongoDatabase db, AobaService aobaService)
{
opt.WithCustomArgument($"-vf \"crop='min(in_w,in_h)':'min(in_w,in_h)',scale={w}:{w}\" -loop 0 -r 15")
.ForceFormat("webp");
}).Configure(cfg =>
{
#if !DEBUG
cfg.BinaryFolder = "/usr/bin";
#endif
}).ProcessSynchronously();
output.Position = 0;
return output;