Skip to content

Commit

Permalink
chore: refactor Taskfile to replace helm package command with oci task
Browse files Browse the repository at this point in the history
On-behalf-of: @SAP angel.kafazov@sap.com
Signed-off-by: Angel Kafazov <akafazov@cst-bg.net>
  • Loading branch information
akafazov committed Jan 31, 2025
1 parent dd1e567 commit b174557
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit b174557

Please sign in to comment.