Skip to content

Commit

Permalink
fix: helm-conftest step
Browse files Browse the repository at this point in the history
Signed-off-by: Brenno Oliveira <brenno.oliveira@deliveryhero.com>
  • Loading branch information
brennoo committed Aug 19, 2024
1 parent b55741a commit 54ef896
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/helm-conftest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,18 @@ jobs:
name: Run conftest for all charts
runs-on: ubuntu-latest
container:
image: instrumenta/helm-conftest:latest
image: alpine/helm:latest
steps:
- name: Checkout Code
uses: actions/checkout@v4.1.7

- name: Install Conftest
run: |
apk add --no-cache curl
curl -L https://github.com/open-policy-agent/conftest/releases/latest/download/conftest-linux-amd64.tar.gz -o conftest.tar.gz
tar xzf conftest.tar.gz
mv conftest /usr/local/bin/
rm conftest.tar.gz
- name: Validate all charts
run: bash ci/helm-conftest.sh

0 comments on commit 54ef896

Please sign in to comment.