CI: 更新了构建,仅使用 github action 缓存
Some checks failed
Build and Push Docker Image to Aliyun Registry / build-and-push (push) Has been cancelled

Signed-off-by: Caijinglong <cjl_spy@163.com>
This commit is contained in:
Caijinglong 2025-06-26 10:38:30 +08:00
parent 453b38bbc9
commit 0f32a29a0b
Signed by: cai
GPG Key ID: 92FBD82121AC80AA

View File

@ -71,12 +71,8 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64
cache-from: |
type=gha
type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache
cache-to: |
type=gha,mode=max
type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache,mode=max
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Push Docker image
uses: docker/build-push-action@v5
@ -88,9 +84,7 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64
cache-from: |
type=gha
type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache
cache-from: type=gha
- name: Build and Push Results
run: |