diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index fadeb82..daa2b95 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -2,19 +2,16 @@ name: main on: push jobs: -# scan_fs: -# runs-on: ubuntu-latest -# container: -# image: registry.nextpertise.tools/nextpertise-proxy/aquasec/trivy:0.14.0 -# credentials: -# username: ${{ secrets.REGISTRY_NEXTPERTISE_TOOLS_ACCOUNT }} -# password: ${{ secrets.REGISTRY_NEXTPERTISE_TOOLS_KEY }} -# steps: -# - name: Checkout -# uses: actions/checkout@v4 -# -# - name: scan fs -# run: trivy --light fs --quiet --exit-code 1 . + scan_fs: + runs-on: ubuntu-latest + container: + image: aquasec/trivy:0.14.0 + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: scan fs + run: trivy --light fs --quiet --exit-code 1 . unittest: runs-on: ubuntu-latest