The UPX plugin can be used to pack executables.

Example

kind: pipeline
name: default
steps:
- name: upx
  image: cnbattle/drone-upx
  settings:
    level: 9 //default 5
    save_file: ./executable_upx_file
    original_file: ./executable_original_file

Properties

  • level

    stringoptional

    Compression level, a value between 1 and 9, the bigger the better.

    Default: 5

  • save_file

    stringoptional

    The path to the file to save the upx file.

    Default: none

  • original_file

    stringoptional

    The path to the file to save the original file.

    Default: none