Skip to content

Commit

Permalink
Set https protocol as global variable (#1799)
Browse files Browse the repository at this point in the history
  • Loading branch information
danilapog authored Dec 7, 2023
1 parent f599e1f commit 5f80bca
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/zap-scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ on:
jobs:
zap:
runs-on: ubuntu-latest
env:
PROTO: https
permissions:
issues: write
name: Scan DocSpace with zap
Expand All @@ -34,7 +36,6 @@ jobs:
env:
DOCKER_TAG: ${{ github.event.inputs.version }}
STATUS: "4testing-"
PROTO: "https"
run: |
# Get gh-action runner local ip
LOCAL_IP=$(hostname -I | awk '{print $1}')
Expand Down Expand Up @@ -97,6 +98,6 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
docker_name: 'ghcr.io/zaproxy/zaproxy:stable'
target: 'https://${{ steps.prepare.outputs.local-ip }}/'
target: '${{ env.PROTO }}://${{ steps.prepare.outputs.local-ip }}/'
allow_issue_writing: false
cmd_options: '-j'

0 comments on commit 5f80bca

Please sign in to comment.