Skip to content

Commit

Permalink
Merge pull request #2 from shivjm/tweak-kubeconform-job
Browse files Browse the repository at this point in the history
Tweak `kubeconform` job
  • Loading branch information
shivjm authored Sep 27, 2021
2 parents c7961cc + 2e20917 commit f7251f7
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
- main

env:
KUBECONFORM_VERSION: 'v0.4.10'
HELM_DOCS_VERSION: '1.5.0'

jobs:
Expand Down Expand Up @@ -77,15 +76,19 @@ jobs:
with:
fetch-depth: 0

- name: Set up Helm
uses: azure/setup-helm@v1
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
version: v3.7.0
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Generate and validate releases
uses: shivjm/helm-kubeconform-action@v0.0.1
with:
additionalSchemaPaths: |
uses: docker://ghcr.io/shivjm/helm-kubeconform-action:v0.1.0
env:
ADDITIONAL_SCHEMA_PATHS: |
schemas/{{ .ResourceKind }}.json
chartsDirectory: "charts"
CHARTS_DIRECTORY: "charts"
KUBECONFORM_STRICT: "true"
HELM_UPDATE_DEPENDENCIES: "true"

0 comments on commit f7251f7

Please sign in to comment.