From 54ef89625cd35222017eb80caa9998fb86ae6a85 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 | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/helm-conftest.yaml b/.github/workflows/helm-conftest.yaml index 20a7f9b7..b10b67b7 100644 --- a/.github/workflows/helm-conftest.yaml +++ b/.github/workflows/helm-conftest.yaml @@ -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