-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3da7641
commit 8e6c0b7
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -125,14 +125,14 @@ jobs: | |
echo "::set-output name=runner_ip::$(hostname -I | cut -d' ' -f1)" | ||
# Step 2: Add the command to start Docker image on port 4200 | ||
- name: Start Docker image on port 80 | ||
run: docker run -d -p 80:80 ncats/smartgraph_frontend:${{ needs.Snyk-Docker-Image.outputs.build_version }} | ||
- name: Start Docker image on port 4200 | ||
run: docker run -d -p 4200:4200 ncats/smartgraph_frontend:${{ needs.Snyk-Docker-Image.outputs.build_version }} | ||
|
||
# Step 3: ZAP BASELINE SCAN | ||
- name: ZAP base Scan | ||
uses: zaproxy/[email protected] | ||
with: | ||
target: 'http://${{ steps.get_runner_ip.outputs.runner_ip }}:8023' # ip address of the runner | ||
target: 'http://${{ steps.get_runner_ip.outputs.runner_ip }}:4200' # ip address of the runner | ||
docker_name: 'ghcr.io/zaproxy/zaproxy:stable' | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
fail_action: false | ||
|