Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Saltanofff authored Nov 16, 2024
1 parent 066f852 commit 377f0e1
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,23 @@ jobs:
#how artifacts will be named when exported
name: bandit-findings.json
path: bandit-report.json

image_scan:
#each new job runs in a new isolated environment
name: Build and Run Image Scan
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Docker
uses: docker-practice/actions-setup-docker@v1
with:
docker_version: '20.10.7'

- name: Build Docker Image
run: docker build -f Dockerfile -t mytestapp:latest .



0 comments on commit 377f0e1

Please sign in to comment.