Skip to content

Commit d550c29

Browse files
committed
NO-JIRA: chore(konflux): introduce image retention on pushed images
Until we decide to release on Konflux in upstream, it doesn't make much sense to store the result images in the quay.io repository wasting the disk resources there. Let's introduce the retention similarly as we do for the PR builds. For PR we delete images after 5 days, let's have 28 days for the pushed builds just in case. Once we decide to perform release in upstream from Konflux, this decision needs to be revisited to avoid deletion of the released artifacts.
1 parent f73eab5 commit d550c29

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.tekton/jupyter-minimal-ubi9-python-3-11-push.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ spec:
2525
value: '{{revision}}'
2626
- name: output-image
2727
value: quay.io/redhat-user-workloads/rhoai-ide-konflux-tenant/jupyter-minimal-ubi9-python-3-11:{{revision}}
28+
- name: image-expires-after
29+
value: 28d
2830
- name: build-platforms
2931
value:
3032
- linux/x86_64

0 commit comments

Comments
 (0)