Skip to content

Commit

Permalink
Update check_build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bio-boris authored Nov 7, 2024
1 parent 391ed11 commit 9454789
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/check_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,31 @@ on:
jobs:
docker:
runs-on: ubuntu-latest
steps:
services:
registry:
image: registry:2
ports:
- 5000:5000
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Build

-
name: Build and Push to Local Registry
uses: docker/build-push-action@v6
with:
push: false
tags: 'docker.io/kbase/ee2:${{ github.sha }}'
push: true
tags: localhost:5000/ee2/test:latest


-
name: Run Trivy vulnerability scanner
uses: aquasecurity/[email protected]
with:
image-ref: 'docker.io/kbase/ee2:${{ github.sha }}'
image-ref: 'localhost:5000/ee2/test:latest'
format: 'table'
exit-code: '1'
ignore-unfixed: true
Expand Down

0 comments on commit 9454789

Please sign in to comment.