Skip to content

Commit

Permalink
fix: improve docker cache
Browse files Browse the repository at this point in the history
Signed-off-by: Mirko Mollik <mirkomollik@gmail.com>
  • Loading branch information
cre8 committed Sep 4, 2024
1 parent c256e2f commit 248dd54
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 6 deletions.
4 changes: 3 additions & 1 deletion apps/demo/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,9 @@
"metadata": {
"images": ["ghcr.io/openwallet-foundation-labs/credhub/demo"],
"load": true,
"tags": ["latest"]
"tags": ["latest"],
"cache-from": ["type=gha"],
"cache-to": ["type=gha,mode=max"]
}
}
}
Expand Down
4 changes: 3 additions & 1 deletion apps/holder-backend/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@
"ghcr.io/openwallet-foundation-labs/credhub/holder-backend"
],
"load": true,
"tags": ["latest"]
"tags": ["latest"],
"cache-from": ["type=gha"],
"cache-to": ["type=gha,mode=max"]
}
}
}
Expand Down
4 changes: 3 additions & 1 deletion apps/issuer-backend/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@
"ghcr.io/openwallet-foundation-labs/credhub/issuer-backend"
],
"load": true,
"tags": ["latest"]
"tags": ["latest"],
"cache-from": ["type=gha"],
"cache-to": ["type=gha,mode=max"]
}
}
}
Expand Down
4 changes: 3 additions & 1 deletion apps/issuer-frontend/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@
"ghcr.io/openwallet-foundation-labs/credhub/issuer-frontend"
],
"load": true,
"tags": ["latest"]
"tags": ["latest"],
"cache-from": ["type=gha"],
"cache-to": ["type=gha,mode=max"]
}
}
}
Expand Down
4 changes: 3 additions & 1 deletion apps/verifier-backend/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@
"ghcr.io/openwallet-foundation-labs/credhub/verifier-backend"
],
"load": true,
"tags": ["latest"]
"tags": ["latest"],
"cache-from": ["type=gha"],
"cache-to": ["type=gha,mode=max"]
}
}
}
Expand Down
4 changes: 3 additions & 1 deletion apps/verifier-frontend/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@
"ghcr.io/openwallet-foundation-labs/credhub/verifier-frontend"
],
"load": true,
"tags": ["latest"]
"tags": ["latest"],
"cache-from": ["type=gha"],
"cache-to": ["type=gha,mode=max"]
}
}
}
Expand Down

0 comments on commit 248dd54

Please sign in to comment.