1
0
mirror of https://github.com/hanxi/xiaomusic.git synced 2026-03-15 08:13:16 +08:00

优化镜像编译

This commit is contained in:
涵曦
2026-01-14 20:25:11 +08:00
parent d9d2f8145e
commit 23b55a9350

View File

@@ -101,7 +101,9 @@ jobs:
context: .
push: true
tags: ${{ env.VERSION_TAG }}
cache-from: type=gha
cache-from: |
type=gha,scope=amd64
type=gha,scope=arm64
- name: Publish to Docker Hub latest and stable
if: startsWith(github.ref, 'refs/tags/v')
@@ -114,7 +116,9 @@ jobs:
${{ env.VERSION_TAG }}
${{ env.LATEST_TAG }}
${{ env.STABLE_TAG }}
cache-from: type=gha
cache-from: |
type=gha,scope=amd64
type=gha,scope=arm64
# 推送镜像到 GitHub Release
publish-release: