Skip to content

Commit

Permalink
fix: improve docker cache (#100)
Browse files Browse the repository at this point in the history
* fix: improve docker cache

Signed-off-by: Mirko Mollik <[email protected]>

* fix: display rendering

Signed-off-by: Mirko Mollik <[email protected]>

---------

Signed-off-by: Mirko Mollik <[email protected]>
  • Loading branch information
cre8 committed Sep 4, 2024
1 parent cd0f31a commit ed7d232
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 9 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
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
fxLayoutGap="16px"
>
<img
*ngIf="metadata.display"
*ngIf="metadata.display && metadata.display[0].background_image"
class="image"
[alt]="metadata.display![0].logo?.alt_text"
[src]="metadata.display![0].background_image?.url"
[alt]="metadata.display![0].background_image.alt_text"
[src]="metadata.display![0].background_image!.url"
alt="Credential image"
/>
<div class="header" fxFlexOrder.lt-sm="-1">
Expand Down

0 comments on commit ed7d232

Please sign in to comment.