Skip to content

go-ipfix v0.10.1

go-ipfix v0.10.1 #46

name: Upload assets to release
on:
release:
types:
- created
jobs:
build-ipfix-collector:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- name: Build assets
env:
TAG: ${{ github.ref }}
run: |
mkdir assets
VERSION="${TAG:10}" ./hack/release/prepare-assets.sh ./assets
- name: Upload ipfix-collector.yaml
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./assets/ipfix-collector.yaml
asset_name: ipfix-collector.yaml
asset_content_type: application/octet-stream
build-kafka-collector:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- name: Build assets
run: cp ./build/yamls/kafka-flow-collector.yaml ./assets
- name: Upload kafka-flow-collector.yaml
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./build/yamls/kafka-flow-collector.yaml
asset_name: kafka-flow-collector.yaml
asset_content_type: application/octet-stream