From 3627ca4468a88920ee593e284635d4f2a932f2a2 Mon Sep 17 00:00:00 2001 From: slashtechno <77907286+slashtechno@users.noreply.github.com> Date: Sat, 17 Dec 2022 18:01:19 -0600 Subject: [PATCH] Cache Docker builds (GH actions) --- .github/workflows/docker.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 7c5a37d..db67561 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -35,4 +35,6 @@ jobs: uses: docker/build-push-action@c56af957549030174b10d6867f20e78cfd7debc5 with: push: true - tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}, ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest \ No newline at end of file + tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}, ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest + cache-from: type=gha + cache-to: type=gha,mode=max