update kubeconform workflow to use Arch Linux container and install kubeconform
Some checks failed
Validate Kubernetes Manifests / kubeconform (pull_request) Failing after 32s

This commit is contained in:
2025-12-03 12:11:35 +05:30
parent cbda7f9a79
commit fec651cc0a

View File

@@ -8,11 +8,14 @@ jobs:
kubeconform: kubeconform:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
image: ghcr.io/yannh/kubeconform:latest image: docker.io/archlinux/archlinux:latest
steps: steps:
- name: Setup environment
run: |
pacman -Syu --noconfirm kubeconform git
- name: Checkout code - name: Checkout code
run: | run: |
git clone https://gitea.akshun-lab.cc/aggarwalakshun/k3s.git /mnt git clone https://gitea.akshun-lab.cc/aggarwalakshun/k3s.git /mnt
- name: Validate Manifests - name: Validate Manifests
run: | run: |
/kubeconform -verbose -summary -schema-location default -kinds '*' /mnt/**/*.yml kubeconform -verbose -summary -schema-location default -kinds '*' /mnt/**/*.yml