Go to file
paspo 4d3ed1d517
All checks were successful
the build was successful
initial import
2018-08-12 19:01:40 +02:00
.drone.yml initial import 2018-08-12 19:01:40 +02:00
Dockerfile initial import 2018-08-12 19:01:40 +02:00
LICENSE initial import 2018-08-12 19:01:40 +02:00
README.md initial import 2018-08-12 19:01:40 +02:00
run.sh initial import 2018-08-12 19:01:40 +02:00

deb-sign

Build Status

Ubuntu docker image with some packages preinstalled. This is used to sign .deb packages.

Build

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

How NOT to use

pipeline:
  pkg_sign:
    image: libreschool-automation/deb-sign:latest
    files: my_package.deb
    sign_type: origin
    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/deb-sign:latest
    files: my_package.deb
    sign_type: origin
    secrets: [gpg_key, passphrase]
    

Parameters

  • files - .deb packages to sign; defaults to *.deb
  • sign_type - can be 'origin', 'maint' or 'archive'; defaults to origin
  • gpg_key - the gpg key (public and private)
  • passphrase - passphrase to unlock the gpg key