mirror of
https://github.com/YuzuZensai/TrollSSH.git
synced 2026-09-13 22:49:02 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0514931320
|
||
|
|
5ff2453f15
|
||
|
|
3107a452e6
|
||
|
|
e1e6d80ef9
|
@@ -3,7 +3,7 @@ name: CI
|
||||
on:
|
||||
push:
|
||||
branches: ["**"]
|
||||
tags: ["v*"]
|
||||
tags: ["[0-9]*.[0-9]*.[0-9]*"]
|
||||
pull_request:
|
||||
|
||||
permissions:
|
||||
@@ -51,7 +51,7 @@ jobs:
|
||||
- name: Determine push conditions
|
||||
id: should_push
|
||||
run: |
|
||||
if [[ "${{ github.event_name }}" == "push" && ( "${{ github.ref }}" == "refs/heads/main" || "${{ github.ref }}" == refs/tags/v* ) ]]; then
|
||||
if [[ "${{ github.event_name }}" == "push" && ( "${{ github.ref }}" == "refs/heads/main" || "${{ github.ref }}" =~ ^refs/tags/[0-9]+\.[0-9]+\.[0-9]+$ ) ]]; then
|
||||
echo "push=true" >> "$GITHUB_OUTPUT"
|
||||
else
|
||||
echo "push=false" >> "$GITHUB_OUTPUT"
|
||||
@@ -64,7 +64,7 @@ jobs:
|
||||
images: ghcr.io/yuzuzensai/trollssh
|
||||
tags: |
|
||||
type=raw,value=latest,enable={{is_default_branch}}
|
||||
type=semver,pattern=v{{version}}
|
||||
type=semver,pattern={{version}}
|
||||
type=sha,prefix=sha-,format=short
|
||||
|
||||
- name: Log in to GHCR
|
||||
|
||||
@@ -25,7 +25,7 @@ Generate a frame set from a video through container image
|
||||
|
||||
```sh
|
||||
docker run --rm -v ./video.mp4:/home/app/video.mp4 -v ./frames:/home/app/frames \
|
||||
ghcr.io/yuzuzensai/trollssh:v1.1.1 trollssh --generate --video video.mp4 --resolution 512
|
||||
ghcr.io/yuzuzensai/trollssh:1.2.0 trollssh --generate --video video.mp4 --resolution 512
|
||||
```
|
||||
|
||||
This writes `frames/<name>.tsf`, a simple container of color JPEG frames plus
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
services:
|
||||
trollssh:
|
||||
image: ghcr.io/yuzuzensai/trollssh:v1.1.1
|
||||
image: ghcr.io/yuzuzensai/trollssh:v1.1.3
|
||||
container_name: trollssh
|
||||
restart: unless-stopped
|
||||
mem_limit: ${MEMORY_LIMIT:-2g}
|
||||
|
||||
Reference in New Issue
Block a user