add github cache for docker

This commit is contained in:
2023-10-13 11:46:43 +02:00
committed by Mathieu Virbel
parent 9ccaddeabb
commit 0e4ef90e62
2 changed files with 4 additions and 0 deletions

View File

@@ -43,3 +43,5 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.login-ecr.outputs.registry }}/${{ env.ECR_REPOSITORY }}:latest
cache-from: type=gha
cache-to: type=gha,mode=max

View File

@@ -81,3 +81,5 @@ jobs:
with:
context: server
platforms: linux/amd64,linux/arm64
cache-from: type=gha
cache-to: type=gha,mode=max