add cache for CI

This commit is contained in:
ginuerzh 2022-01-10 12:08:27 +08:00
parent e2f0cffb1b
commit f0981298b8

View File

@ -70,3 +70,5 @@ jobs:
platforms: linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8
push: true
tags: ${{ steps.prepare.outputs.tags }}
cache-from: type=registry,ref=${{ steps.prepare.outputs.docker_image }}:buildcache
cache-to: type=registry,ref=${{ steps.prepare.outputs.docker_image }}:buildcache,mode=max