mirror of
https://github.com/hamster1963/nezha-dash.git
synced 2025-04-24 21:10:45 +08:00
fix: docker build cache
This commit is contained in:
parent
59363fcf0c
commit
7e182ed6eb
6
.github/workflows/Deploy.yml
vendored
6
.github/workflows/Deploy.yml
vendored
@ -18,6 +18,10 @@ jobs:
|
|||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
# 移除 QEMU 设置步骤,因为我们不再需要模拟
|
||||||
|
# - name: Set up QEMU
|
||||||
|
# uses: docker/setup-qemu-action@v3
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
with:
|
with:
|
||||||
@ -57,8 +61,6 @@ jobs:
|
|||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
cache-from: type=registry,ref=${{ env.REGISTRY_IMAGE }}:cache
|
cache-from: type=registry,ref=${{ env.REGISTRY_IMAGE }}:cache
|
||||||
cache-to: type=inline
|
cache-to: type=inline
|
||||||
build-args: |
|
|
||||||
BUILDKIT_INLINE_CACHE=1
|
|
||||||
|
|
||||||
changelog:
|
changelog:
|
||||||
name: Generate Changelog
|
name: Generate Changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user