Skip to content

Commit

Permalink
feat(taskfile): add dist:chart task
Browse files Browse the repository at this point in the history
This task lints and builds GoosyMock's Helm chart.
  • Loading branch information
Icikowski committed Dec 18, 2022
1 parent ef41cc5 commit 37fadf7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tasks/dist.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,10 @@ tasks:
--build-arg buildTime={{ .BUILD_TIME }} \
--label org.opencontainers.image.version={{ .GIT_TAG }} \
--label org.opencontainers.image.created={{ .BUILD_TIME }}
chart:
desc: Build a Helm chart
dir: chart
cmds:
- helm lint goosymock
- helm package goosymock --app-version "{{ .GIT_TAG }}" --version "{{ .GIT_TAG }}"
- mv goosymock-{{ .GIT_TAG }}.tgz ../../target

0 comments on commit 37fadf7

Please sign in to comment.