Skip to content

Commit f86f402

Browse files
committed
zap
1 parent 6bad625 commit f86f402

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/secured-CICD.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090
- name: Debug Docker containers
9191
run: docker ps
9292

93-
- name: Get web container IP address
93+
- name: Get web container IP address and check accessibility
9494
id: get_ip
9595
run: |
9696
CONTAINER_ID=$(docker ps -qf "name=web")
@@ -104,4 +104,4 @@ jobs:
104104
uses: zaproxy/[email protected]
105105
with:
106106
token: ${{ secrets.GITHUB_TOKEN }}
107-
target: http://172.18.0.3:8000
107+
target: http://$CONTAINER_IP:8000

0 commit comments

Comments
 (0)