ENH: Caching, advanced mapping and separating events for MISP Feed output bot #2929
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
| #Github Workflow to build Debian packages for intelmq-api | |
| # | |
| #SPDX-FileCopyrightText: 2020 IntelMQ Team <intelmq-team@cert.at>, 2025 Institute for Common Good Technology | |
| #SPDX-License-Identifier: AGPL-3.0-or-later | |
| # | |
| name: "Build Debian packages" | |
| on: | |
| push: | |
| branches: [develop, maintenance, master] | |
| paths-ignore: | |
| - '.github/**' | |
| pull_request: | |
| branches: [develop, maintenance] | |
| paths-ignore: | |
| - '.github/**' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-24.04 | |
| env: | |
| # Fixes https://github.com/actions/virtual-environments/issues/3080 | |
| STORAGE_OPTS: overlay.mount_program=/usr/bin/fuse-overlayfs | |
| name: Build Debian packages | |
| strategy: | |
| matrix: | |
| codename: ['bullseye', 'bookworm'] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Build package | |
| run: bash .github/workflows/scripts/debian-package.sh ${{ matrix.codename }} | |
| - name: Test packages installation | |
| run: sudo apt-get update && DEBIAN_FRONTEND="noninteractive" sudo apt-get install ~/artifacts/*.deb | |
| - name: Upload artifact | |
| if: ${{ github.event_name == 'push' }} | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: debian-package-${{ matrix.codename }}-${{ github.sha }} | |
| path: '~/artifacts' | |
| retention-days: 5 |