Skip to content

Commit b69aed4

Browse files
committed
fix: use registry network alias for Orca Security scan
The Orca action runs inside a Docker container on the job's Docker network, so 127.0.0.1:5000 resolves to the container itself rather than the runner host. Use the 'registry' network alias instead, which is reachable from any container on the same network. Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com>
1 parent e5d29a3 commit b69aed4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/docker-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
with:
8181
api_token: ${{ secrets.orca-security-api-token }}
8282
project_key: ${{ inputs.orca-security-project-key }}
83-
image: 127.0.0.1:5000/image:temp
83+
image: registry:5000/image:temp
8484
exit_code: "1"
8585

8686
# Push the image on merge to master

0 commit comments

Comments
 (0)