mirror of
https://github.com/hanxi/xiaomusic.git
synced 2026-03-15 08:13:16 +08:00
优化镜像编译
This commit is contained in:
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user