Public | Automated Build

Last pushed: 10 months ago
Short Description
Drone CI 0.5 Automate docker hub build trigger
Full Description

drone-scp

SCPs source files from current repo to the target server.

Usage: (In .drone.yml)

pipeline:
  scp:
    image: ccfoss/drone-scp
    repo: ccfoss/oss-dashboard
    #Add docker key to secrets
    #drone secret add --image cakkineni/drone-dockerhub CCF-Core/hello-world  REPO_KEY 72643278648238632463

Add Keys to drone secrets (using drone cli)

export DRONE_TOKEN=<Token from drone server>
export DRONE_SERVER=<Drone Website URL>

drone secret add --image ccfoss/drone-dockerhub CCF-Core/hello-world  REPO_KEY 72643278648238632463

Sign .drone.yml before checkin(using drone cli)

export DRONE_TOKEN=<Token from drone server>
export DRONE_SERVER=<Drone Website URL>

drone sign CCF-Core/swarm-cluster
Docker Pull Command
Owner
ccfoss
Source Repository

Comments (0)