Skip to content
box

GitHub Action

NFPM packager action

v1.4 Latest version

NFPM packager action

box

NFPM packager action

NFPM packaging tool for deb and rpm packaging

Installation

Copy and paste the following snippet into your .yml file.

              

- name: NFPM packager action

uses: skynet-core/nfpm@v1.4

Learn more about this action in skynet-core/nfpm

Choose a version

nfpm

build last commit last release

nfpm tool packaged for using as GitHub Action.

Inputs

config

Optional Nfpm config path. Default is nfpm.yaml

packager

Required Packager to use. rpm or deb

target

Optional Output package name. Default is generic name based on config

Example usage

- name: Create deb package
  uses: skynet-core/nfpm@v1.5
  id: deb-package
  with:
    config: "custom.yaml"
    packager: "deb"
- name: Create rpm package
  uses: skynet-core/nfpm@v1.5
  id: rpm-package
  with:
    config: "custom.yaml"
    packager: "rpm"