Real-time network monitor + outbound firewall — see & block every connection. Privacy-first, local-first, Rust fleet agent, SIEM exports, 8 languages. / Moniteur réseau temps réel + pare-feu sortant, agent de flotte Rust, exports SIEM. 100 % local.
Python cybersecurityd3jsebpfedrelectronfastapifirewallfleet-managementlinuxlittle-snitch-alternativemacosnetwork-monitornetwork-securitypacket-captureprivacyreactrustself-hostedsiemwindows
ci: publish Docker image to GHCR on tags + manual dispatch / publication de l'image Docker sur GHCR
MoneyLisa27d1bcacbaaf
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 3ccb122..6cf7b91 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -8,16 +8,20 @@name: CI-# EN: Least-privilege token — jobs only need to read the repo.-# FR: Jeton à moindre privilège — les jobs n'ont besoin que de lire le dépôt.+# EN: Least-privilege token — jobs only need to read the repo, except the+# docker job which pushes image packages to GHCR.+# FR: Jeton à moindre privilège — les jobs n'ont besoin que de lire le dépôt,+# sauf le job docker qui pousse l'image sur GHCR.permissions:contents: read+ packages: writeon:push:branches: [main]tags: ['v*']pull_request:+ workflow_dispatch:jobs:backend:@@ -117,3 +121,28 @@ jobs:run: |echo "signing would run here: codesign --sign 'Developer ID' dist/backend/snitch-backend"exit 1 # EN: fail loudly if enabled but not implemented / FR: échouer si activé mais non implémenté++ # EN: Publish the Docker image to GHCR — on tags and manual dispatch only,+ # since Linux capture requires `docker run --network host` anyway.+ # FR: Publie l'image Docker sur GHCR — sur tags et déclenchement manuel+ # seulement, la capture Linux exige `docker run --network host`.+ docker:+ if: github.event_name == 'workflow_dispatch' || startsWith(github.ref, 'refs/tags/')+ runs-on: ubuntu-latest+ steps:+ - uses: actions/checkout@v7+ - uses: docker/setup-buildx-action@v3+ - name: Login to GHCR+ uses: docker/login-action@v3+ with:+ registry: ghcr.io+ username: ${{ github.actor }}+ password: ${{ secrets.GITHUB_TOKEN }}+ - name: Build + push image+ uses: docker/build-push-action@v6+ with:+ context: .+ push: true+ tags: |+ ghcr.io/${{ github.repository_owner }}/snitch:latest+ ghcr.io/${{ github.repository_owner }}/snitch:${{ github.ref_name }}