From 7cdd71e8b8f57b1da4bd7734e8b4779e57f28491 Mon Sep 17 00:00:00 2001 From: Brenno Oliveira Date: Mon, 19 Aug 2024 16:22:49 +0200 Subject: [PATCH] fix: helm-conftest step Signed-off-by: Brenno Oliveira --- .github/workflows/helm-conftest.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/helm-conftest.yaml b/.github/workflows/helm-conftest.yaml index 20a7f9b7..15cc2142 100644 --- a/.github/workflows/helm-conftest.yaml +++ b/.github/workflows/helm-conftest.yaml @@ -5,10 +5,19 @@ 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 Dependencies + run: apk add --no-cache curl + + - name: Install Conftest + run: | + curl -sSL https://github.com/open-policy-agent/conftest/releases/latest/download/conftest-linux-amd64 -o conftest + chmod +x conftest + mv conftest /usr/local/bin/ + - name: Validate all charts run: bash ci/helm-conftest.sh