Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Commit ba3c65b

Browse files
authored
delete trivy + change workflow
1 parent dba084d commit ba3c65b

File tree

1 file changed

+2
-22
lines changed

1 file changed

+2
-22
lines changed

.circleci/config.yml

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -69,17 +69,7 @@ jobs:
6969
--platform linux/amd64,linux/arm64 \
7070
-t ${{ env.BASE_REPO }}/client-python-3-11:${CIRCLE_TAG} \
7171
-t ${{ env.BASE_REPO }}client-python-3-11:latest \
72-
--build-arg BASE_IMAGE="python:3.11-alpine3.20" \
73-
74-
- name: Run Trivy vulnerability scanner
75-
uses: aquasecurity/[email protected]
76-
with:
77-
image-ref: ${{ env.BASE_REPO }}/client-python-3-11:latest
78-
format: 'table'
79-
exit-code: '1'
80-
ignore-unfixed: true
81-
vuln-type: 'os,library'
82-
severity: 'CRITICAL,HIGH'
72+
--build-arg BASE_IMAGE="python:3.11-alpine3.20"
8373
8474
- run:
8575
name: Push image to regsitry
@@ -104,17 +94,7 @@ jobs:
10494
--platform linux/amd64,linux/arm64 \
10595
-t ${{ env.BASE_REPO }}/client-python-3-12:${CIRCLE_TAG} \
10696
-t ${{ env.BASE_REPO }}/client-python-3-12:latest \
107-
--build-arg BASE_IMAGE="python:3.12-alpine3.20" \
108-
109-
- name: Run Trivy vulnerability scanner
110-
uses: aquasecurity/[email protected]
111-
with:
112-
image-ref: ${{ env.BASE_REPO }}/client-python-3-11:latest
113-
format: 'table'
114-
exit-code: '1'
115-
ignore-unfixed: true
116-
vuln-type: 'os,library'
117-
severity: 'CRITICAL,HIGH'
97+
--build-arg BASE_IMAGE="python:3.12-alpine3.20"
11898
11999
- run:
120100
name: Push image to regsitry

0 commit comments

Comments
 (0)