Skip to content

Commit

Permalink
Fix create release
Browse files Browse the repository at this point in the history
  • Loading branch information
GMartinez-Sisti committed Mar 11, 2021
1 parent b47a2b3 commit a4df630
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

0 comments on commit a4df630

Please sign in to comment.