feat: use cache?

This commit is contained in:
Nemo D'ACREMONT 2025-09-09 14:50:49 +02:00
parent bc90d097d9
commit 89edfcb3aa
Signed by: ndacremont
SSH Key Fingerprint: SHA256:rqH8LtCUxBPWiz9AshKD5EZfJhA4hU0WTTP3yE6GiLw

View File

@ -32,9 +32,6 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
- name: check docker
run: docker ps -a; docker run --rm hello-world
- name: Restore Docker cache
uses: actions/cache@v3
with:
@ -62,6 +59,6 @@ jobs:
tags: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ gitea.sha }}
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
# cache-from: type=local,src=/tmp/.buildx-cache
# cache-to: type=local,dest=/tmp/.buildx-cache
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache