Skip to content

Conversation

@didierofrivia
Copy link
Member

Closes #8

TODO

Signed-off-by: dd <4183971+didierofrivia@users.noreply.github.com>
Signed-off-by: dd <4183971+didierofrivia@users.noreply.github.com>
echo "Setting expiry to 'never' for release tag ${{ github.ref_name }}"
else
echo "expiry=3w" >> $GITHUB_OUTPUT
echo "Setting expiry to '3w' for non-release ref ${{ github.ref_name }}"
Copy link
Member Author

Choose a reason for hiding this comment

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

We could change this and make it open and read the value from input

- name: Determine quay image expiry
id: quay-expiry
run: |
if [[ "${{ github.ref_type }}" == "tag" && "${{ github.ref_name }}" =~ ^v[0-9]+\.[0-9]+\.[0-9]+(-.*)?$ ]]; then
Copy link
Member Author

Choose a reason for hiding this comment

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

We could also just change the Makefile value

QUAY_IMAGE_EXPIRY ?= never
of QUAY_IMAGE_EXPIRY to never when triggering the release workflow, and let 3w as the default... what do you reckon?

Copy link
Member Author

Choose a reason for hiding this comment

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

Same way it's changing the VERSION here

- name: Update VERSION in Makefile
run: |
VERSION="${{ github.event.inputs.version }}"
sed -i "s/^VERSION ?= .*/VERSION ?= $VERSION/" Makefile
echo "Updated Makefile VERSION to $VERSION"
grep "^VERSION" Makefile

@didierofrivia didierofrivia self-assigned this Jan 22, 2026
@didierofrivia didierofrivia moved this to In Progress in Kuadrant Jan 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

set quay image expiry to prevent overflow of images

2 participants