From 4fdee499755091d31c3132f3a7f8ee3d990ecbc6 Mon Sep 17 00:00:00 2001 From: Leonardo Amaral Date: Fri, 26 Jul 2024 18:27:31 -0300 Subject: [PATCH] Reenable cache Signed-off-by: Leonardo Amaral --- .gitea/workflows/build-and-push.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitea/workflows/build-and-push.yaml b/.gitea/workflows/build-and-push.yaml index e9e8fe8..4e53788 100644 --- a/.gitea/workflows/build-and-push.yaml +++ b/.gitea/workflows/build-and-push.yaml @@ -28,6 +28,14 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 + - name: Cache Docker layers + uses: actions/cache@v3 + with: + path: /tmp/.buildx-cache + key: ${{ runner.os }}-buildx-${{ github.sha }} + restore-keys: | + ${{ runner.os }}-${{ runner.arch }}-buildx-rockylinux9 + - name: Login to Docker Hub uses: docker/login-action@v3 with: