Modificar .gitea/workflows/deploy.yaml
DevSecOps Enterprise Pipeline / security-gate-and-deploy (push) Successful in 1m1s

atualizar deploy 4x
This commit is contained in:
pm
2026-05-08 16:10:17 +00:00
parent 134462e684
commit db474703e2
+4 -4
View File
@@ -67,12 +67,12 @@ jobs:
# O parâmetro "-I" garante que a pipeline NÃO falha devido a avisos (warnings). # O parâmetro "-I" garante que a pipeline NÃO falha devido a avisos (warnings).
- name: OWASP ZAP Baseline Scan - name: OWASP ZAP Baseline Scan
run: | run: |
mkdir -p qatests mkdir -p ${{ github.workspace }}/qatests
chmod 777 qatests chmod 777 ${{ github.workspace }}/qatests
docker run --user root \ docker run --user root \
--link website-test-sandbox:website-test-sandbox \ --link website-test-sandbox:website-test-sandbox \
-v $(pwd)/qatests:/zap/wrk/:rw \ -v ${{ github.workspace }}/qatests:/zap/wrk/:rw \
-t ghcr.io/zaproxy/zaproxy:stable zap-baseline.py \ -t ghcr.io/zaproxy/zaproxy:stable zap-baseline.py \
-t http://website-test-sandbox \ -t http://website-test-sandbox \
-r report.html \ -r report.html \
@@ -114,7 +114,7 @@ jobs:
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: owasp-zap-report name: owasp-zap-report
path: qatests/report.html path: ${{ github.workspace }}/qatests/report.html
- name: Slack/Discord Notification - name: Slack/Discord Notification
if: always() if: always()