Skip to content

Update simple-secret.yaml #181

Update simple-secret.yaml

Update simple-secret.yaml #181

Workflow file for this run

---
name: k8s-test
on:
[push, pull_request]
jobs:
apply-all-yaml:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install kubeconform
run: |
curl -L https://github.com/yannh/kubeconform/releases/latest/download/kubeconform-linux-amd64.tar.gz | tar -zxf -
sudo mv kubeconform /usr/local/bin
kubeconform -v
- name: check all yaml
run: |
./bin/test.sh | tee -a apply.txt
- name: upload artifact
uses: actions/upload-artifact@v2
with:
name: apply-test-all-yaml
path: apply.txt
- name: check apply log for error
run: |
if [ -s apply.txt ]; then exit 1; fi