Skip to content

Attach lifecycle annotations for images - #852

Open
Anam Navied (anamnavi) wants to merge 4 commits into
masterfrom
attach-lifecycleannotations
Open

Attach lifecycle annotations for images#852
Anam Navied (anamnavi) wants to merge 4 commits into
masterfrom
attach-lifecycleannotations

Conversation

@anamnavi

@anamnavi Anam Navied (anamnavi) commented Mar 10, 2025

Copy link
Copy Markdown
Member

PR Summary

Attach lifecycle annotation for images with (rolling) tags. Check if the tag already exists for an image, if so fetch that image by digest and import it into our ACR instance, attach lifecycle annotation to mark it as EOL, and then publish the new one.

PR Checklist

$images = $imgJsonFileContent.$channel

# Create variables for lifecycle annotations
$endOfLifeDate = Get-Date -Format "yyyy-MM-ddTHH:mm:00Z"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't this be 30days from now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants