ci: 增加构建缓存

pull/43/head
NepPure 2025-03-04 10:51:50 +08:00 committed by GitHub
parent e4fd1b9b3a
commit 69c0d3e63f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -34,3 +34,5 @@ jobs:
${{ secrets.DOCKERHUB_USERNAME }}/maimbot:${{ github.ref_name }}
${{ secrets.DOCKERHUB_USERNAME }}/maimbot:latest
push: true
cache-from: type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/maimbot:latest
cache-to: type=inline