mirror of
https://github.com/truewhile/MeBox.git
synced 2026-09-29 19:36:36 +08:00
优化
优化
This commit is contained in:
@@ -82,7 +82,7 @@ jobs:
|
||||
|
||||
NEW_VERSION="${MAJOR}.${MINOR}.${PATCH}"
|
||||
echo "new_version=$NEW_VERSION" >> $GITHUB_OUTPUT
|
||||
echo "tag=MediaStationGo-v${NEW_VERSION}" >> $GITHUB_OUTPUT
|
||||
echo "tag=MMTL-v${NEW_VERSION}" >> $GITHUB_OUTPUT
|
||||
|
||||
# 3. 更新 VERSION 文件
|
||||
- name: Update version file
|
||||
|
||||
@@ -4,7 +4,7 @@ on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
version:
|
||||
description: 'Image tag to publish, for example MediaStationGo-v0.0.32'
|
||||
description: 'Image tag to publish, for example MMTL-v0.0.32'
|
||||
required: true
|
||||
type: string
|
||||
ref:
|
||||
@@ -42,7 +42,7 @@ jobs:
|
||||
uses: docker/metadata-action@v5
|
||||
with:
|
||||
# 自动使用当前仓库所有者
|
||||
images: ghcr.io/${{ github.repository_owner }}/mediastation-go
|
||||
images: ghcr.io/${{ github.repository_owner }}/mmtl
|
||||
tags: |
|
||||
type=raw,value=latest
|
||||
type=raw,value=${{ env.RELEASE_VERSION }}
|
||||
|
||||
Reference in New Issue
Block a user