mirror of
https://github.com/NLnetLabs/dnst.git
synced 2026-09-29 05:05:00 +02:00
Package dnst as DEB & RPM packages, and Docker images. (#22)
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.
This commit is contained in:
@@ -2,8 +2,6 @@ name: Packaging
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "main"
|
||||
tags:
|
||||
- v*
|
||||
|
||||
@@ -14,10 +12,22 @@ on:
|
||||
|
||||
jobs:
|
||||
package:
|
||||
#
|
||||
# Set @vN to the latest released version.
|
||||
# For more information see: https://github.com/NLnetLabs/ploutos/blob/main/README.md
|
||||
#
|
||||
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
|
||||
|
||||
# TODO
|
||||
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
|
||||
Reference in New Issue
Block a user