ci: add Docker cache to speed builds up

Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
This commit is contained in:
Mark Sagi-Kazar 2022-02-04 12:45:52 +01:00
parent 8519219dae
commit 8cee3927b4
No known key found for this signature in database
GPG key ID: 31AB0439F4C5C90E

View file

@ -76,6 +76,8 @@ jobs:
with: with:
context: . context: .
platforms: linux/amd64,linux/arm/v7,linux/arm64 platforms: linux/amd64,linux/arm/v7,linux/arm64
cache-from: type=gha
cache-to: type=gha,mode=max
push: ${{ github.event_name == 'push' }} push: ${{ github.event_name == 'push' }}
tags: ${{ steps.tags.outputs.tags }} tags: ${{ steps.tags.outputs.tags }}
build-args: | build-args: |