Packaging #18
Workflow file for this run
This file contains 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
name: Packaging | |
on: | |
push: | |
branches: | |
- main | |
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: | |
full: | |
uses: NLnetLabs/ploutos/.github/workflows/pkg-rust.yml@v7 | |
# TODO: When ready to make this repository public uncomment this `DOCKER_HUB_` secrets section and set the | |
# corresponding repository secrets to enable publishing Docker images to https://hub.docker.com/. | |
#secrets: | |
# DOCKER_HUB_ID: ${{ secrets.DOCKER_HUB_ID }} | |
# DOCKER_HUB_TOKEN: ${{ secrets.DOCKER_HUB_TOKEN }} | |
with: | |
# TODO: When ready to make this repository public, remove this `runs_on` when this repository is made public. | |
# Until then run on self-hosted runners at the office to avoid consuming the GitHub Actions credits that we | |
# also use for other things because private repositories use a limited budget of per-organization credits. | |
runs_on: self-hosted | |
docker_org: nlnetlabs | |
docker_repo: rotonda | |
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 |