A Drone CI plugin for publishing Lua modules to LuaRocks
This repository has been archived on 2025年08月22日 . You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
| Dockerfile | Changed image name to match my docker hub account | |
| LICENSE | Inital commit | |
| lr_upload.sh | Inital commit | |
| README.md | Changed image name to match my docker hub account | |
drone-luarocks
This is a Drone plugin for uploading a Lua module as a self-contained package, called a rock, to LuaRocks.
Docs
Config
The following parameter are available to configure the plugin:
mandatory
- rockspec - full path of the
.rockspecfile - apikey - the API key, which is needed for publishing the module at LuaRocks
- it's highly recommnd to configure a Secret for this, to not expose it to the world
optional
- lint - runs
luarocks lintbeforeluarocks upload(default:true) - skippack - skips packaging and only uploads the
.rockspecfile (default:false) - force - the existing rock is overwritten, if the same version of the rock already exists (default:
false)
Examples
kind:pipelinetype:dockername:defaultsteps:- name:uploadimage:imolein/drone-luarockssettings:rockspec:test_module-0.1-0.rockspecapikey:from_secret:lr_api_keywhen:event:include:- tagexclude:- pull_requestDrone Version
- >1.0 - works
- 0.8 - not tested