Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/release-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,15 @@ jobs:
run: ./docker-scout quickview alpine:latest
- name: TEST docker scout cves
run: ./docker-scout cves docker/scout-demo-service:main
- name: TEST docker scout recommendations
run: ./docker-scout recommendations docker/scout-demo-service:main
- name: Watch repository after release
run: |
./docker-scout watch \
--org my-org \
--repository registry.example.com/scout-demo-service \
--tag latest \
--dry-run
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/security_scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Weekly Security Scan

on:
schedule:
- cron: '0 8 * * 1'
workflow_dispatch:

jobs:
security:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'

- name: Install dependencies
run: pip install pytest pytest-html pyyaml

- name: Run YAML schema tests
run: pytest tests/ --html=security-report.html --self-contained-html

- name: Upload security report
if: always()
uses: actions/upload-artifact@v4
with:
name: security-report
path: security-report.html
38 changes: 38 additions & 0 deletions .github/workflows/validate_yaml.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Validate YAML Schema

on:
push:
paths:
- 'docs/**.yaml'
- 'tests/**'
pull_request:
paths:
- 'docs/**.yaml'
- 'tests/**'

workflow_dispatch:

jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'

- name: Install dependencies
run: pip install pytest pytest-html pyyaml

- name: Run YAML schema tests
run: pytest tests/ --html=reporte.html --self-contained-html

- name: Upload test report
if: always()
uses: actions/upload-artifact@v4
with:
name: reporte-pruebas
path: reporte.html
Loading