32debd770d9c2d852c04cc3447d9a98d35da87cd

Author
TheEdgeOfRage <git@theedgeofrage.com>
Committer
TheEdgeOfRage <git@theedgeofrage.com>
Date

Message

Use docker registry for storing build cache

Diff

 1diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
 2index 7d09ac0f2f766a5e31b6d186d762186b25a31f7d..b86e01c2cea1d1e228069994b67edf5ad60f17ca 100644
 3--- a/.github/workflows/ci.yaml
 4+++ b/.github/workflows/ci.yaml
 5@@ -62,8 +62,8 @@ jobs:
 6           push: true
 7           tags: theedgeofrage/ytrssil:api
 8           target: api
 9-          cache-from: type=gha
10-          cache-to: type=gha,mode=max
11+          cache-from: type=registry,ref=theedgeofrage/ytrssil:buildcache
12+          cache-to: type=registry,ref=theedgeofrage/ytrssil:buildcache,mode=max
13 
14       - name: Build and push migrations image
15         uses: docker/build-push-action@v6
16@@ -71,5 +71,5 @@ jobs:
17           push: true
18           tags: theedgeofrage/ytrssil:migrations
19           target: migrations
20-          cache-from: type=gha
21-          cache-to: type=gha,mode=max
22+          cache-from: type=registry,ref=theedgeofrage/ytrssil:buildcache
23+          cache-to: type=registry,ref=theedgeofrage/ytrssil:buildcache,mode=max