-
Notifications
You must be signed in to change notification settings - Fork 6
35 lines (31 loc) · 1004 Bytes
/
archive.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
on: [push]
jobs:
sbomgen-directory:
runs-on: ubuntu-latest
name: "archive"
environment:
name: plugin-development
steps:
# To use this repository's private action,
# you must check out the repository
- name: Checkout
uses: actions/checkout@v4
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: ${{ secrets.AWS_REGION }}
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- name: inspector-scan
uses: ./ # Uses an action in the root directory
id: TBD
with:
artifact_type: 'archive'
artifact_path: 'testData.zip'
- name: Upload Inspector Scan SBOM Results
uses: actions/upload-artifact@v4
with:
name: Inspector Scan SBOM Results
path: |
inspector_scan_results/*.json
logs/*.txt