From f5c28d83cea46be6699544ba7ca113794c2b8ae8 Mon Sep 17 00:00:00 2001 From: Ethan Girouard Date: Wed, 18 Dec 2024 04:14:55 +0000 Subject: [PATCH] Test GHA cache --- .gitea/workflows/push.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/push.yaml b/.gitea/workflows/push.yaml index 747bc19..b194018 100644 --- a/.gitea/workflows/push.yaml +++ b/.gitea/workflows/push.yaml @@ -34,16 +34,16 @@ jobs: with: push: true tags: "${{ steps.get-image-name.outputs.IMAGE_NAME }}:${{ gitea.sha }}" - cache-from: type=registry,ref=${{ steps.get-image-name.outputs.IMAGE_NAME }}:${{ gitea.sha }} - cache-to: type=inline + cache-from: type=gha + cache-to: type=gha,mode=max - name: Build and push Docker image with "latest" tag uses: docker/build-push-action@v5 if: gitea.ref == 'refs/heads/main' with: push: true tags: "${{ steps.get-image-name.outputs.IMAGE_NAME }}:latest" - cache-from: type=registry,ref=${{ steps.get-image-name.outputs.IMAGE_NAME }}:latest - cache-to: type=inline + cache-from: type=gha + cache-to: type=gha,mode=max test: runs-on: libretunes-cicd