CI: Add docker build caching (#493)

This commit is contained in:
Harsh Mishra 2022-05-16 03:07:13 +05:30 committed by GitHub
parent bb7fb1313d
commit 653aee9294
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 1 deletions

View File

@ -34,3 +34,5 @@ jobs:
platforms: linux/arm64 platforms: linux/arm64
push: true push: true
tags: spikecodes/libreddit:arm tags: spikecodes/libreddit:arm
cache-from: type=gha
cache-to: type=gha,mode=max

View File

@ -37,3 +37,5 @@ jobs:
platforms: linux/arm/v7 platforms: linux/arm/v7
push: true push: true
tags: spikecodes/libreddit:armv7 tags: spikecodes/libreddit:armv7
cache-from: type=gha
cache-to: type=gha,mode=max

View File

@ -34,4 +34,5 @@ jobs:
platforms: linux/amd64 platforms: linux/amd64
push: true push: true
tags: spikecodes/libreddit:latest tags: spikecodes/libreddit:latest
cache-from: type=gha
cache-to: type=gha,mode=max