Skip to content

Commit ba9e4d3

Browse files
committed
feat(ci): add trivy workflow
1 parent 8402786 commit ba9e4d3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/trivy.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ jobs:
4343
uses: actions/checkout@v2
4444

4545
- name: Build an image from Dockerfile
46-
run: |
47-
docker build -t codercom/code-server:${{ github.sha }} --file ./ci/release-image/Dockerfile .
46+
run: ./ci/steps/build-docker-image.sh
4847

4948
- name: Run Trivy vulnerability scanner in image mode
5049
uses: aquasecurity/trivy-action@master

0 commit comments

Comments
 (0)