Drone的一些使用
Drone的一些使用 文章目录 Drone的一些使用 1. CLI Reference 1.1 Configuration 2. secret 2.1 可以在repo界面添加 2.2 通过CLI工具加密 2.3 通过CLI工具添加到repo 2.4 用于SSH Pipeline中的server配置 2.5用于environment中的变量 3. docker-in-docker 4. 跳过CI构建 1. CLI Reference 1.1 Configuration Configuration 在Drone图形界面登陆后,User settings中存在Personal Token、API和CLI使用示例以及 Configure your Drone server address: export DRONE_SERVER=http://drone.mycompany.com Configure your Drone personal token: export DRONE_TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9... 2. secret 2.1 可以在repo界面添加 Per Repository kind : pipeline name : default steps : - name : build image : alpine