fix: docker build cache

This commit is contained in:
hamster1963 2024-10-23 14:53:41 +08:00
parent 59363fcf0c
commit 7e182ed6eb

View File

@ -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