-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (32 loc) · 982 Bytes
/
Copy pathcontainer-security.yml
File metadata and controls
41 lines (32 loc) · 982 Bytes
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
36
37
38
39
40
41
name: Container Security
on:
pull_request:
branches: ["main"]
push:
branches: ["main"]
permissions:
contents: read
concurrency:
group: container-security-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
container-security:
runs-on: ubuntu-24.04
steps:
# actions/checkout v4.2.2
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
# actions/setup-python v5.6.0
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
with:
python-version: "3.11"
cache: "pip"
- name: Install dependencies
run: |
python -m pip install --upgrade pip==25.1.1
python -m pip install -e ".[security]"
- name: Build image
run: make container-build-security
- name: Scan image
run: make container-scan
- name: Container evidence
run: make appsec-evidence verify-appsec-evidence appsec-report