Skip to content
This repository was archived by the owner on May 4, 2021. It is now read-only.

Use layers digest for CacheID in FROM step#307

Open
krumstein wants to merge 4 commits intouber-archive:masterfrom
krumstein:feature/hash-from
Open

Use layers digest for CacheID in FROM step#307
krumstein wants to merge 4 commits intouber-archive:masterfrom
krumstein:feature/hash-from

Conversation

@krumstein
Copy link
Copy Markdown

Using layers digest for calculating cacheID allows to use cache between different image tags. This can be very useful if there's a lot of similar images with different tags, for example, in a CI/CD pipeline where each feature branch produces different image tag.

@CLAassistant
Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@yiranwang52
Copy link
Copy Markdown
Contributor

I think the best approach should be using SHA256 hash of manifest content.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants