docs: add detailed README.md and code implementation #2
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| packages: write | |
| security-events: write | |
| jobs: | |
| backend: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: "21" | |
| cache: maven | |
| - name: Test | |
| run: mvn -B test | |
| - name: Build container | |
| run: docker build -t sovereign-comm-platform:${{ github.sha }} . | |
| - name: Generate SBOM | |
| run: docker scout sbom sovereign-comm-platform:${{ github.sha }} --format spdx --output sbom.spdx.json || true | |
| - name: Upload SBOM | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: sbom | |
| path: sbom.spdx.json | |
| if-no-files-found: ignore | |
| k8s-manifests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: imranismail/setup-kustomize@v2 | |
| - name: Render manifests | |
| run: kustomize build k8s/base >/tmp/sovereign-comm.yaml |