No description
Find a file
Jeanne Franco c8785838aa
Merge pull request #35 from hashicorp/compliance/update-headers
[IND-4227] [COMPLIANCE] Update Copyright Headers
2026-01-05 15:36:13 -08:00
.github [Compliance] - PR Template Changes Required (#34) 2025-09-16 14:58:54 -07:00
META.d [COMPLIANCE] Update Copyright and License Headers 2025-12-09 11:06:21 +00:00
action.yml [COMPLIANCE] Update Copyright and License Headers 2025-12-09 11:06:21 +00:00
CODEOWNERS Update codeowners (#20) 2024-04-26 13:08:29 -07:00
fpm_template.go [COMPLIANCE] Update Copyright and License Headers 2025-12-09 11:06:21 +00:00
go.mod [QT-687] Rewrite packaging action (#18) 2024-04-01 16:33:14 -07:00
LICENSE [COMPLIANCE] Update Copyright and License Headers 2025-12-09 11:06:21 +00:00
README.md Add missing parameters to README (#24) 2024-06-12 11:16:59 -07:00

actions-packaging-linux Heimdall

For internal HashiCorp use only. The output of this action is specifically designed to satisfy the needs of our internal deployment system, and may not be useful to other organizations.

This is a GitHub Action wrapper around nFPM, used to produce DEBs and RPMs.

Inputs

Input Description Default
name Product name.
arch Build architecture.
version Product semver version.
maintainer Maintainer name.
vendor Default vendor. HashiCorp
description Product description.
homepage Product homepage.
license Product usage license.
binary Binary location to package.
file_permissions Umask applied to all files in the package; if unspecified, the file permissions are unmodified during packaging.
user_owner Name of user that should own all files in the package nFPM's default (root)
group_owner Name of group that should own all files in the package nFPM's default (root)
config_dir Directory of configs in desired filesystem structure.
deb_depends Comma separated list of deb dependencies.
rpm_depends Comma separated list of rpm dependencies.
preinstall Preinstall script location.
postinstall Postinstall script location.
preremove Preremove script location.
postremove Postremove script location.

Release Instructions

A new release has two parts: git tags, and a GitHub release. Look at the current tags to determine what the next version should be. In the instructions below, replace v1 with vN where N is the major version of the new release if it's not 1.

  1. git checkout main && git pull origin main
  2. git tag v<new-version-number> && git push origin v<new-version-number>
  3. Push the tag while you're on the main branch
  4. git tag -d v1 && git push origin :refs/tags/v1
  5. git tag v1 && git push origin v1