Skip to content

Commit 8faa375

Browse files
committed
Added scan actions
1 parent d978b6a commit 8faa375

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/ci.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,25 @@ jobs:
3232
run: docker-compose -f .docker-compose.yml-ci exec -T proxysql mysql -u super -ApsuperLuser -h 127.0.0.1 --port 3307 percona -e 'select * from heartbeat;'
3333
- name: Testing connection to MySQL via ProxySQL port 3308
3434
run: docker-compose -f .docker-compose.yml-ci exec -T proxysql mysql -u super -ApsuperLuser -h 127.0.0.1 --port 3308 percona -e 'select * from heartbeat;'
35+
- uses: anchore/scan-action@v2
36+
id: scan
37+
with:
38+
image: "garutilorenzo/mysql-gtid-replication:latest"
39+
acs-report-enable: true
40+
- name: upload Anchore scan SARIF report
41+
uses: github/codeql-action/upload-sarif@v1
42+
with:
43+
sarif_file: ${{ steps.scan.outputs.sarif }}
44+
- name: Inspect action SARIF report
45+
run: cat ${{ steps.scan.outputs.sarif }}
46+
- uses: anchore/scan-action@v2
47+
id: scan
48+
with:
49+
image: "garutilorenzo/heartbeat:latest"
50+
acs-report-enable: true
51+
- name: upload Anchore scan SARIF report
52+
uses: github/codeql-action/upload-sarif@v1
53+
with:
54+
sarif_file: ${{ steps.scan.outputs.sarif }}
55+
- name: Inspect action SARIF report
56+
run: cat ${{ steps.scan.outputs.sarif }}

0 commit comments

Comments
 (0)