Skip to content

Commit

Permalink
Try registry instead of gha for cache
Browse files Browse the repository at this point in the history
  • Loading branch information
glormph committed Oct 29, 2024
1 parent 1bf2197 commit 0728622
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions src/docker/docker-compose-gha-cache.json
Original file line number Diff line number Diff line change
@@ -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"]
}
}
Expand Down

0 comments on commit 0728622

Please sign in to comment.