From 072862228cf4f938975a337090264b860318fab8 Mon Sep 17 00:00:00 2001 From: Jorrit Boekel Date: Tue, 29 Oct 2024 15:03:13 +0100 Subject: [PATCH] Try registry instead of gha for cache --- src/docker/docker-compose-gha-cache.json | 28 ++++++++++++------------ 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/docker/docker-compose-gha-cache.json b/src/docker/docker-compose-gha-cache.json index 28bb4b2a..982ad8ed 100644 --- a/src/docker/docker-compose-gha-cache.json +++ b/src/docker/docker-compose-gha-cache.json @@ -1,37 +1,37 @@ {"target": { "web": { - "cache-from": ["type=gha"], - "cache-to": ["type=gha"], + "cache-from": ["type=registry,ref=ghcr.io/glormph/kantele-web:cache"], + "cache-to": ["type=registry,ref=ghcr.io/glormph/kantele-web:cache"], "output": ["type=docker"] }, "db": { - "cache-from": ["type=gha"], - "cache-to": ["type=gha"], + "cache-from": ["type=registry,ref=ghcr.io/glormph/kantele-db:cache"], + "cache-to": ["type=registry,ref=ghcr.io/glormph/kantele-db:cache"], "output": ["type=docker"] }, "mq": { - "cache-from": ["type=gha"], - "cache-to": ["type=gha"], + "cache-from": ["type=registry,ref=ghcr.io/glormph/kantele-mq:cache"], + "cache-to": ["type=registry,ref=ghcr.io/glormph/kantele-mq:cache"], "output": ["type=docker"] }, "storage_mvfiles": { - "cache-from": ["type=gha"], - "cache-to": ["type=gha"], + "cache-from": ["type=registry,ref=ghcr.io/glormph/kantele-stor:cache"], + "cache-to": ["type=registry,ref=ghcr.io/glormph/kantele-stor:cache"], "output": ["type=docker"] }, "tulos_ingester": { - "cache-from": ["type=gha"], - "cache-to": ["type=gha"], + "cache-from": ["type=registry,ref=ghcr.io/glormph/kantele-stor:cache"], + "cache-to": ["type=registry,ref=ghcr.io/glormph/kantele-stor:cache"], "output": ["type=docker"] }, "storage_downloads": { - "cache-from": ["type=gha"], - "cache-to": ["type=gha"], + "cache-from": ["type=registry,ref=ghcr.io/glormph/kantele-stor:cache"], + "cache-to": ["type=registry,ref=ghcr.io/glormph/kantele-stor:cache"], "output": ["type=docker"] }, "upload_bay_rsync": { - "cache-from": ["type=gha"], - "cache-to": ["type=gha"], + "cache-from": ["type=registry,ref=ghcr.io/glormph/kantele-rsync:cache"], + "cache-to": ["type=registry,ref=ghcr.io/glormph/kantele-rsync:cache"], "output": ["type=docker"] } }