mirror of
https://github.com/NLnetLabs/dnst.git
synced 2026-08-21 07:02:29 +02:00
Note: - Man pages have to be generated via `make man` and committed to Git to be included in the generated packages. - Docker images are built but not yet published to Docker Hub as the required automation credentials have not yet been provisioned.
33 lines
1.1 KiB
YAML
33 lines
1.1 KiB
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: dnst
|
|
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_rules: pkg/rules/packages-to-test.yml
|
|
package_test_scripts_path: pkg/test-scripts/test-<package>.sh
|
|
|
|
cross_build_args: --features static-openssl
|
|
|
|
deb_extra_build_packages: libssl-dev
|
|
rpm_extra_build_packages: make openssl-devel
|
|
rpm_scriptlets_path: pkg/rpm/scriptlets.toml |