Skip to content

Commit cb5078b

Browse files
committed
update readme
1 parent ce39e0e commit cb5078b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ The images are available on:
2828
To ensure the propagation of security fixes from upstream projects, all
2929
supported tags are mutable and undergo periodic rebuilding.
3030

31+
#### Pin by digest
32+
3133
The suggested approach is to pin the sha256 digest for best reproducibility in
3234
your `Dockerfile`, for example:
3335

@@ -53,6 +55,17 @@ alfresco/alfresco-base-java jre17-rockylinux9 sha256:b749868ceb42bd6f58ae2f1
5355

5456
This configuration approach is compatible with [Dependabot](https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#docker).
5557

58+
#### Pin by immutable tags
59+
60+
Additional tags are being pushed for master releases, following the pattern
61+
`$tag-YYMMDDHHMM`. Those tags are never overwritten and can be used as a more
62+
intuitive approach. You can still use it in combination with digest for
63+
increased security.
64+
65+
> Quay.io doesn't retain previous images when a tag is overwritten, so using an
66+
> immutable tag is mandatory in order to avoid getting `Manifest not found`
67+
> error once a mutable tag get updated.
68+
5669
## Development
5770

5871
While any docker installation will produce valid images, building with

0 commit comments

Comments
 (0)