add publishing steps
@@ -7,3 +7,30 @@ pipeline:
- /var/run/docker.sock:/var/run/docker.sock
commands:
- dapper ci
+
+ stage-binaries:
+ image: rancher/dapper:1.11.2
+ commands:
+ - cp -r ./bin/* ./package/
+ when:
+ branch: master
+ event: tag
+
+ github_binary_release:
+ image: plugins/github-release
+ files: bin/*
+ secrets: [github_token]
+ when:
+ branch: master
+ event: tag
+
+ publish-rke-certs-deployer:
+ image: plugins/docker
+ dockerfile: package/certs-deployer/Dockerfile
+ repo: rancher/rke-certs-deployer
+ context: package/certs-deployer/
+ tag: ${DRONE_TAG}
+ secrets: [docker_username, docker_password]
+ when:
+ branch: master
+ event: tag
