enable registry build cache

This commit is contained in:
Rongrong 2022-03-28 05:02:16 +08:00
parent e416c5c7d7
commit 8321d8424f
No known key found for this signature in database
GPG Key ID: A36C9CDA260CB264

View File

@ -23,3 +23,5 @@ jobs:
push: true push: true
platforms: linux/amd64,linux/386,linux/arm64 platforms: linux/amd64,linux/386,linux/arm64
tags: ${{ secrets.DOCKER_USERNAME }}/slashbot:latest tags: ${{ secrets.DOCKER_USERNAME }}/slashbot:latest
cache-from: type=registry,ref=${{ secrets.DOCKER_USERNAME }}/slashbot:buildcache
cache-to: type=registry,ref=${{ secrets.DOCKER_USERNAME }}/slashbot:buildcache,mode=max