ci: 增加构建缓存 (#43)
This commit is contained in:
2
.github/workflows/docker-image.yml
vendored
2
.github/workflows/docker-image.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user