From 3107a452e66facd018df4cba8e66b0bcdbff5bb3 Mon Sep 17 00:00:00 2001 From: Yuzu Date: Wed, 29 Jul 2026 18:41:40 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore:=20drop=20v=20prefix=20fro?= =?UTF-8?q?m=20release=20tags=20and=20docker=20image=20tags?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 6 +++--- README.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7b9b658..5b78755 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/README.md b/README.md index 4473b6e..3efb8e9 100644 --- a/README.md +++ b/README.md @@ -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.3 trollssh --generate --video video.mp4 --resolution 512 + ghcr.io/yuzuzensai/trollssh:1.1.3 trollssh --generate --video video.mp4 --resolution 512 ``` This writes `frames/.tsf`, a simple container of color JPEG frames plus