From b17455761c0db8487307f4518975ea35d311632e Mon Sep 17 00:00:00 2001 From: Angel Kafazov Date: Fri, 31 Jan 2025 18:18:09 +0200 Subject: [PATCH] chore: refactor Taskfile to replace helm package command with oci task On-behalf-of: @SAP angel.kafazov@sap.com Signed-off-by: Angel Kafazov --- Taskfile.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Taskfile.yaml b/Taskfile.yaml index 7b8e9f1f2..30788b290 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -47,8 +47,7 @@ tasks: - task: helm-docs - task: lint - task: test - - cmd: rm oci/* - - task: helmpackage + - task: oci vulnerability: deps: - task: setup:kube-lint @@ -67,3 +66,7 @@ tasks: - task: helmpackage cmds: - "for chart in $(echo {{.PACKAGED_CHARTS}} | tr ',' ' '); do helm push $chart oci://localhost:5000/openmfp; done" + oci: + cmds: + - "rm oci/* || true" + - task: helmpackage \ No newline at end of file