Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 940 Bytes

README.md

File metadata and controls

31 lines (26 loc) · 940 Bytes

This plugin allows building a Docker image and pushing it to Registry

Usage

  pipeline:
    docker:
      image: joshdvir/drone-docker-bash
      repo: my-cluster
      username: my-service
      password: my-image:latest

Another example with optional variables

  pipeline:
    docker:
      image: joshdvir/drone-docker-bash
      cluster: my-cluster
      service: my-service
      image_name: my-image:latest
      aws_region: us-east-1 # defaults to us-east-1
      timeout: "600" # defaults to 300 / 5 min
      max: "200" # defaults to 200
      min: "100" # defaults to 100
      aws_access_key_id: ewijdfmvbasciosvdfkl # optional, better to use as secret
      aws_secret_access_key: vdfklmnopenxasweiqokdvdfjeqwuioenajks # optional, better to use as secret