Skip to content

Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.

ci: 更新 GitHub Actions 标签匹配规则

HoshinoSuzumif4ab606f0666
diff --git a/.github/workflows/docker-release-ghcr.yml b/.github/workflows/docker-release-ghcr.yml
index 92638338..0e2e1be8 100644
--- a/.github/workflows/docker-release-ghcr.yml
+++ b/.github/workflows/docker-release-ghcr.yml
@@ -3,7 +3,7 @@ name: Build and Push Docker Image (GitHub Registry)
on:
push:
tags:
- - 'v*' # 匹配以 v. 开头的标签,如 v.1.0.0, v.2.1.3
+ - 'v*'
env:
REGISTRY: ghcr.io
@@ -23,8 +23,8 @@ jobs:
- name: Extract version from tag
id: version
run: |
- # 提取标签中的版本号,去掉 v. 前缀
- VERSION=${GITHUB_REF#refs/tags/v.}
+ # 提取标签中的版本号,去掉 v 前缀
+ VERSION=${GITHUB_REF#refs/tags/v}
echo "version=$VERSION" >> $GITHUB_OUTPUT
echo "Version: $VERSION"