diff --git a/.gitea/workflows/helm-lint.yaml b/.gitea/workflows/helm-lint.yaml index 4d75f6b..2852e78 100644 --- a/.gitea/workflows/helm-lint.yaml +++ b/.gitea/workflows/helm-lint.yaml @@ -1,4 +1,4 @@ -name: Build Docker in Container +name: Test Helm Chart on: push: @@ -7,15 +7,16 @@ on: pull_request: jobs: - build-docker: - runs-on: docker + helm-lint: + runs-on: ubuntu-latest container: - image: alpine/helm + image: alpine/helm:3.14.0 steps: - - name: Checkout repository - uses: actions/checkout@v4 - with: - fetch-depth: 0 # get full history - - - name: Show current directory - run: pwd && ls -la + - name: Clone repo manually + run: | + git clone "${CI_REPO_URL}" . + git fetch --tags + + - name: Run Helm lint + run: | + helm lint ./duino-miner-helm