What is the purpose of the 'postCommit' hook in a BuildConfig?
It provides a stage to run validation checks within the build container.
Why this answer
The postCommit hook allows you to run commands or tests inside the container after the image is built but before it is pushed.