Container lifecycle management

Is there any way to support lifecycles in containers - ie. only keep the last 5 or remove those over 30 days old where they don't have a specific tag or label.

Also, from automation how to I associate multiple tags with a container on a push?

Thanks in advance!

0
1 comment

Hi Philip, in fact, we're already working on the retention policies for packages. Please refer to this issue for more details.

Talking about pushing an image with multiple tags, we have plans for supporting this use case in the future. Meanwhile, as a workaround, you could add one more docker { ... } step to your job. As a result, the image will be built two times and pushed with different tags.

0

Please sign in to leave a comment.