add cache to speedup docker build

This commit is contained in:
pocketW 2022-12-20 11:39:48 +11:00
parent 619a455432
commit be940fdcea

View File

@ -42,3 +42,5 @@ jobs:
push: ${{ github.event_name != 'pull_request' }} push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max