Cache Docker builds (GH actions)

This commit is contained in:
slashtechno 2022-12-17 18:01:19 -06:00
parent 4fb80a103c
commit 3627ca4468
Signed by: slashtechno
GPG Key ID: 8EC1D9D9286C2B17
1 changed files with 3 additions and 1 deletions

View File

@ -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
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}, ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
cache-from: type=gha
cache-to: type=gha,mode=max