ci: 增加构建缓存 (#43)

pull/51/head
NepPure 2025-03-04 11:03:57 +08:00 committed by GitHub
parent e4fd1b9b3a
commit 9c23a1b183
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