From fbab092b3445c634913250b6ce9e57486a10427a Mon Sep 17 00:00:00 2001 From: Ruben Romero Montes Date: Fri, 14 Feb 2025 16:40:23 +0100 Subject: [PATCH] chore: squash built images Signed-off-by: Ruben Romero Montes --- .tekton/on-pull-request.yaml | 1 + .tekton/on-push.yaml | 1 + .tekton/on-tag.yaml | 1 + 3 files changed, 3 insertions(+) diff --git a/.tekton/on-pull-request.yaml b/.tekton/on-pull-request.yaml index 75b8df2..9c14edd 100644 --- a/.tekton/on-pull-request.yaml +++ b/.tekton/on-pull-request.yaml @@ -88,6 +88,7 @@ spec: - name: BUILD_EXTRA_ARGS value: >- --target base + --squash --label=quay.expires-after=$(params.image-expires-after) taskRef: kind: ClusterTask diff --git a/.tekton/on-push.yaml b/.tekton/on-push.yaml index e12c000..ea628c6 100644 --- a/.tekton/on-push.yaml +++ b/.tekton/on-push.yaml @@ -83,6 +83,7 @@ spec: - name: BUILD_EXTRA_ARGS value: >- --target base + --squash taskRef: kind: ClusterTask name: buildah diff --git a/.tekton/on-tag.yaml b/.tekton/on-tag.yaml index bad954e..353d042 100644 --- a/.tekton/on-tag.yaml +++ b/.tekton/on-tag.yaml @@ -111,6 +111,7 @@ spec: - name: BUILD_EXTRA_ARGS value: >- --target base + --squash taskRef: kind: ClusterTask name: buildah