We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a02df1 commit 8fb7e60Copy full SHA for 8fb7e60
.github/workflows/mend.yaml
@@ -0,0 +1,30 @@
1
+name: Mend CLI Scan
2
+
3
+on:
4
+ workflow_dispatch:
5
+ inputs:
6
+ image:
7
+ description: 'Image to scan'
8
+ required: true
9
+ default: 'docker.io/vespaengine/vespa:8'
10
11
+env:
12
+ IMAGE: ${{ inputs.image }}
13
14
+jobs:
15
+ mend:
16
+ runs-on: ubuntu-latest
17
18
+ steps:
19
+ - name: Downloading Mend CLI
20
+ run: |
21
+ echo Downloading Mend CLI
22
+ curl https://downloads.mend.io/cli/linux_amd64/mend -o /usr/local/bin/mend && chmod +x /usr/local/bin/mend
23
24
+ - name: Mend CLI Scan
25
+ env:
26
+ MEND_EMAIL: ${{secrets.MEND_EMAIL}}
27
+ MEND_USER_KEY: ${{secrets.MEND_USER_KEY}}
28
+ MEND_URL: https://saas-eu.mend.io
29
30
+ mend image "$IMAGE"
0 commit comments