From a4df63046bdbfb844eb2524f7d601c221395e73f Mon Sep 17 00:00:00 2001 From: Gabriel Martinez Date: Thu, 11 Mar 2021 14:07:37 +0000 Subject: [PATCH] Fix create release --- .github/workflows/release.yml | 4 ++++ Makefile | 8 +++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8d25353..be83619 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,6 +24,10 @@ jobs: with: version: v3.4.1 + - name: Add dependency chart repos + run: | + make helm-deps + - name: Run chart-releaser uses: helm/chart-releaser-action@v1.2.0 env: diff --git a/Makefile b/Makefile index ea63f5b..c77c311 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ .ONESHELL: SHELL = /bin/bash .SHELLFLAGS = -eu -c -.PHONY: git-clean helm-docs lint +.PHONY: git-clean helm-deps helm-docs lint ### Actions @@ -15,11 +15,13 @@ git-clean: exit 1 fi -lint: - helm dependency update ./charts/* +lint: helm-deps helm lint ./charts/* act -j linter --env-file <(echo "RUN_LOCAL=true") +helm-deps: + helm dependency update ./charts/* + helm-docs: docker run --rm --volume "$$(pwd):/helm-docs" \ -u $$(id -u) jnorwood/helm-docs:v1.5.0