Go to file
paspo fbb1f10f08
All checks were successful
the build was successful
fix gpg import
2018-09-28 15:04:33 +02:00
.drone.yml initial import 2018-09-28 14:14:09 +02:00
Dockerfile fix file perms 2018-09-28 14:37:44 +02:00
LICENSE initial import 2018-09-28 14:14:09 +02:00
README.md initial import 2018-09-28 14:14:09 +02:00
run.sh fix gpg import 2018-09-28 15:04:33 +02:00

rpm-sign

Build Status

CentOS docker image with some packages preinstalled. This is used to sign .rpm packages.

Build

docker build . -t libreschool-automation/rpm-sign:latest

How NOT to use

pipeline:
  pkg_sign:
    image: libreschool-automation/rpm-sign:latest
    files: my_package.rpm
    gpg_key: []
    passphrase: supersecretpassword
    

How to use

Seriously, don't put the GPG key or the passphrase in .drone.yml.

pipeline:
  pkg_sign:
    image: libreschool-automation/rpm-sign:latest
    files: my_package.rpm
    secrets: [gpg_key, passphrase]
    

Parameters

  • files - .rpm packages to sign; defaults to *.rpm
  • gpg_key - the gpg key (public and private)
  • passphrase - passphrase to unlock the gpg key