Docker and CI/CD · Senior · Question 33 of 75

How can CI cache poisoning happen?

Explanation

If a PR workflow can save a cache the release workflow restores, it can plant modified dependencies. Scope caches by branch and don't restore untrusted caches in release jobs.

Further reading

Problem with a question

Docker and CI/CD · Senior · question 33

Test yourself

Take the Docker and CI/CD · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz