mirror of
https://github.com/NLnetLabs/routinator.git
synced 2024-05-19 06:50:04 +00:00
30 lines
939 B
YAML
30 lines
939 B
YAML
name: Packaging
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- v*
|
|
|
|
# Triggering on PRs and arbitrary branch pushes is not enabled because most of the time only the CI build should be
|
|
# triggered, not the packaging build. In cases where you want to test changes to this workflow this trigger enables
|
|
# you to manually invoke this workflow on an arbitrary branch as needed.
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
package:
|
|
uses: NLnetLabs/ploutos/.github/workflows/pkg-rust.yml@v7
|
|
secrets:
|
|
DOCKER_HUB_ID: ${{ secrets.DOCKER_HUB_ID }}
|
|
DOCKER_HUB_TOKEN: ${{ secrets.DOCKER_HUB_TOKEN }}
|
|
with:
|
|
docker_org: nlnetlabs
|
|
docker_repo: routinator
|
|
docker_build_rules: pkg/rules/docker-images-to-build.yml
|
|
docker_sanity_check_command: --version
|
|
|
|
package_build_rules: pkg/rules/packages-to-build.yml
|
|
package_test_scripts_path: pkg/test-scripts/test-<package>.sh
|
|
|
|
rpm_scriptlets_path: pkg/rpm/scriptlets.toml
|
|
|