35 remove pkg folders from frontends #69
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build | |
| on: | |
| push: | |
| branches: ["**"] | |
| pull_request: | |
| jobs: | |
| build: | |
| name: Build ${{ matrix.service }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| service: | |
| - correctedforecaster | |
| - healthz | |
| - jsonfrontend | |
| - moxfrontend | |
| - rawdataforecaster | |
| - xmlfrontend | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build | |
| run: docker build -f ${{ matrix.service }}/build/package/Dockerfile . | |
| vulncheck: | |
| name: Vulnerability check | |
| needs: [build] | |
| runs-on: ubuntu-latest | |
| container: | |
| # Build/push the devcontainer image via the devcontainer.yml workflow when it changes. | |
| image: ghcr.io/${{ github.repository }}/devcontainer:latest | |
| credentials: | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: govulncheck ./... | |
| # trivy-scan: | |
| # name: Trivy Dockerfile scan | |
| # needs: [build] | |
| # runs-on: ubuntu-latest | |
| # container: | |
| # image: aquasec/trivy | |
| # steps: | |
| # - uses: actions/checkout@v4 | |
| # - name: Scan all Dockerfiles | |
| # run: | | |
| # for dockerfile in */build/package/Dockerfile; do | |
| # echo "Scanning $dockerfile" | |
| # trivy fs --exit-code 1 --severity MEDIUM,HIGH,CRITICAL \ | |
| # --scanners vuln,secret,license,misconfig "$dockerfile" | |
| # done |