Safeguarding your image registry