-
-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (31 loc) · 1.51 KB
/
pkg.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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