Commit 9808f1e 1 parent e770347 commit 9808f1e Copy full SHA for 9808f1e
File tree 1 file changed +7
-4
lines changed
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 23
23
24
24
env :
25
25
KUBERNETES_INFRA_DIR : deployment/kubernetes
26
- KUBE_AUDIT_TAG : 0.22.0
26
+ KUBE_AUDIT_VERSION : 0.22.0
27
+ DATREE_VERSION : 1.9.19
27
28
28
29
jobs :
29
30
helm-chart-validation :
84
85
85
86
- name : Install Kubeaudit
86
87
run : |
87
- curl -LO https://github.com/Shopify/kubeaudit/releases/download/v${{env.KUBE_AUDIT_TAG }}/kubeaudit_${{env.KUBE_AUDIT_TAG }}_linux_amd64.tar.gz
88
- tar -xzvf kubeaudit_${{env.KUBE_AUDIT_TAG }}_linux_amd64.tar.gz
88
+ curl -LO https://github.com/Shopify/kubeaudit/releases/download/v${{env.KUBE_AUDIT_VERSION }}/kubeaudit_${{env.KUBE_AUDIT_VERSION }}_linux_amd64.tar.gz
89
+ tar -xzvf kubeaudit_${{env.KUBE_AUDIT_VERSION }}_linux_amd64.tar.gz
89
90
mv kubeaudit /usr/local/bin/
90
91
91
92
- name : Run Kubeaudit Scan
95
96
96
97
- name : Install Datree
97
98
run : |
98
- curl https://get.datree.io | /bin/bash
99
+ curl -L -o datree.zip https://github.com/datreeio/datree/releases/download/${{env.DATREE_VERSION}}/datree-cli_${{env.DATREE_VERSION}}_Linux_x86_64.zip
100
+ unzip datree.zip -d datree
101
+ mv datree/datree /usr/local/bin/
99
102
100
103
- name : Run Datree Scan
101
104
id : datree_scan
You can’t perform that action at this time.
0 commit comments