chore: remove restore-keys

This commit is contained in:
loks0n
2024-10-09 11:43:38 +01:00
parent 5524fdb7b6
commit 919bb9f4bd
+8 -7
View File
@@ -6,6 +6,7 @@ concurrency:
env:
IMAGE: appwrite-dev
CACHE_KEY: appwrite-dev-${{ github.event.pull_request.head.sha }}
on: [pull_request]
@@ -29,8 +30,8 @@ jobs:
push: false
tags: ${{ env.IMAGE }}
load: true
cache-from: type=gha,scope=${{ env.CACHE_KEY }}
cache-to: type=gha,mode=max,scope=${{ env.CACHE_KEY }}
cache-from: type=gha,scope=appwrite
cache-to: type=gha,mode=max,scope=appwrite
outputs: type=docker,dest=/tmp/${{ env.IMAGE }}.tar
build-args: |
DEBUG=false
@@ -40,7 +41,7 @@ jobs:
- name: Cache Docker Image
uses: actions/cache@v4
with:
key: appwrite-dev-${{ hashFiles('**') }}
key: ${{ env.CACHE_KEY }}
path: /tmp/${{ env.IMAGE }}.tar
unit_test:
@@ -55,7 +56,7 @@ jobs:
- name: Load Cache
uses: actions/cache@v4
with:
key: appwrite-dev-${{ hashFiles('**') }}
key: ${{ env.CACHE_KEY }}
path: /tmp/${{ env.IMAGE }}.tar
fail-on-cache-miss: true
@@ -85,7 +86,7 @@ jobs:
- name: Load Cache
uses: actions/cache@v4
with:
key: appwrite-dev-${{ hashFiles('**') }}
key: ${{ env.CACHE_KEY }}
path: /tmp/${{ env.IMAGE }}.tar
fail-on-cache-miss: true
@@ -133,7 +134,7 @@ jobs:
- name: Load Cache
uses: actions/cache@v4
with:
key: appwrite-dev-${{ hashFiles('**') }}
key: ${{ env.CACHE_KEY }}
path: /tmp/${{ env.IMAGE }}.tar
fail-on-cache-miss: true
@@ -159,7 +160,7 @@ jobs:
- name: Load Cache
uses: actions/cache@v4
with:
key: appwrite-dev-${{ hashFiles('**') }}
key: ${{ env.CACHE_KEY }}
path: /tmp/${{ env.IMAGE }}.tar
fail-on-cache-miss: true
- name: Load and Start Appwrite