Skip to content

Commit 6fa6dd6

Browse files
committed
release 100.1.0
1 parent f7bc2ea commit 6fa6dd6

File tree

5 files changed

+151
-102
lines changed

5 files changed

+151
-102
lines changed

.github/workflows/docker-image.yml

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ on:
1212
branches: [ main, master ]
1313
pull_request:
1414
branches: [ main, master ]
15+
release:
16+
types: [ published ]
1517

1618
concurrency:
1719
group: ${{ github.workflow }}-${{ github.ref }}
@@ -38,6 +40,15 @@ jobs:
3840
run: |
3941
echo "PLATFORM_NAME=${{ matrix.platform }}" | sed 's|/|-|g' >> $GITHUB_ENV
4042
43+
- name: Determine Docker tag
44+
id: docker-tag
45+
run: |
46+
if [ "${{ github.event_name }}" = "release" ]; then
47+
echo "tag=${{ github.event.release.tag_name }}" >> "$GITHUB_OUTPUT"
48+
else
49+
echo "tag=${{ github.event.inputs.tag || 'latest' }}" >> "$GITHUB_OUTPUT"
50+
fi
51+
4152
- name: Checkout source code
4253
uses: actions/checkout@v4
4354

@@ -63,6 +74,8 @@ jobs:
6374
images: ghcr.io/moontechlab/lunatv
6475
tags: |
6576
type=raw,value=${{ github.event.inputs.tag || 'latest' }},enable={{is_default_branch}}
77+
type=semver,pattern={{version}},enable=${{ github.event_name == 'release' }}
78+
type=semver,pattern={{major}}.{{minor}},enable=${{ github.event_name == 'release' }}
6679
6780
- name: Build and push by digest
6881
id: build
@@ -72,7 +85,7 @@ jobs:
7285
file: ./Dockerfile
7386
platforms: ${{ matrix.platform }}
7487
labels: ${{ steps.meta.outputs.labels }}
75-
tags: ghcr.io/moontechlab/lunatv:${{ github.event.inputs.tag || 'latest' }}
88+
tags: ghcr.io/moontechlab/lunatv:${{ steps.docker-tag.outputs.tag }}
7689
outputs: type=image,name=ghcr.io/moontechlab/lunatv,name-canonical=true,push=true
7790

7891
- name: Export digest
@@ -115,10 +128,19 @@ jobs:
115128
id: lowercase
116129
run: echo "owner=$(echo '${{ github.repository_owner }}' | tr '[:upper:]' '[:lower:]')" >> "$GITHUB_OUTPUT"
117130

131+
- name: Determine Docker tag
132+
id: docker-tag
133+
run: |
134+
if [ "${{ github.event_name }}" = "release" ]; then
135+
echo "tag=${{ github.event.release.tag_name }}" >> "$GITHUB_OUTPUT"
136+
else
137+
echo "tag=${{ github.event.inputs.tag || 'latest' }}" >> "$GITHUB_OUTPUT"
138+
fi
139+
118140
- name: Create manifest list and push
119141
working-directory: /tmp/digests
120142
run: |
121-
docker buildx imagetools create -t ghcr.io/moontechlab/lunatv:${{ github.event.inputs.tag || 'latest' }} \
143+
docker buildx imagetools create -t ghcr.io/moontechlab/lunatv:${{ steps.docker-tag.outputs.tag }} \
122144
$(printf 'ghcr.io/moontechlab/lunatv@sha256:%s ' *)
123145
124146
cleanup-refresh:

CHANGELOG

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
## [100.1.0] - 2026-02-27
2+
3+
### Added
4+
5+
- 管理面板新增开关支持关闭网页直播
6+
7+
### Changed
8+
9+
- 优化用户数据存储结构,加速数据获取
10+
- 用户密码加盐存储
11+
- 新增数据自动迁移
12+
113
## [100.0.3] - 2025-10-27
214

315
### Fixed

VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
100.0.3
1+
100.1.0

0 commit comments

Comments
 (0)