-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SOCI artifacts lifecycle policy #2
Comments
Hi @henryhoang1982, thanks for the feature request. I'll look into how we can achieve this. One clarifying question: is specifying a tag prefix enough for you? i.e. your image tag looks like |
Hi @tmokmss , it should be fine or you can tag the |
Hi @tmokmss , is there any luck for this new feature? |
Hi @henryhoang1982, I submitted an inquiry about this feature here: awslabs/soci-snapshotter#1183 We push an index to ECR in the below code, so maybe we can add tags here. I'm still not quite familiar with the oras package though. soci-wrapper/utils/registry/registry.go Lines 84 to 92 in fa7ab9a
|
@tmokmss do you think it should be here? |
I'm afraid not. Isn't it a source image, not an index? |
sorry about the wrong link, I intended to share this link not the previous one But I leave it to you to decide which should be changed since I am not familiar with the helper libraries too. |
SOCI artifacts are created along with base image like below picture, I have ECR Lifecyle rules applied on our base image with filtering via
TagPrefixes
and I want to add same tags to these SOCI artifacts so that they will go with same lifecycle as their base image. Is there anyway to support tagging when callingsoci-wrapper
CLI?The text was updated successfully, but these errors were encountered: