Skip to content

Best practices

Tag Retention

Be sure to properly configure tag retention. This allows you to automatically recover space on untagged or unused artifacts. To do this go to your project under <project> -> Policy -> Tag Retention -> Add Rule.

Tag Immutability

For image labels used in production, proper configuration of tag immutability rules allow you to guarantee that existing artifacts are not overwritten or deleted. To do this go to your project under <project> -> Policy -> Tag Immutability -> Add Rule.

CI/CD Pipeline Integration

To automatically push your images to Harbor, you should configure a robot account instead of using the WebUI tokens.


Last update: October 20, 2021