From 3d2aa732ec287f4108ee46bdb3b9693cc67a8c79 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sat, 31 Jan 2026 11:08:51 +0000 Subject: [PATCH] Initial upload with CI/CD workflow --- .gitea/workflows/container-scan.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .gitea/workflows/container-scan.yml diff --git a/.gitea/workflows/container-scan.yml b/.gitea/workflows/container-scan.yml new file mode 100644 index 0000000..cfddec2 --- /dev/null +++ b/.gitea/workflows/container-scan.yml @@ -0,0 +1,20 @@ +name: Container Scan + +on: + push: + branches: [main] + +jobs: + container-scan: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Build Container + run: docker build -t app . + - name: Scan Container + uses: aquasecurity/trivy-action@master + with: + image-ref: 'app:latest' + format: 'table' + exit-code: '1' + severity: 'CRITICAL,HIGH'