You are here: Integration Guides > Drone.io

Drone.io

Before You Begin

These instructions describe how to push a Docker image from Drone.io to Tenable.io Container Security.

These steps assume you are already comfortable using Drone.io and are already pushing Docker images to a public or private registry. If you are already using Drone.io, but have not built Docker container images, familiarize yourself with the Drone.io documentation How to build and publish Docker images.

If you use Drone.io to build Docker container images, you will already have a build script (usually a build.sh file) that looks like the following:

$ docker build -t docker-registry/image-name .

$ docker push docker-registry/image-name

Steps

  1. Open the build.sh file.
  2. Append a docker login directive before the docker push directive in the script. It should look like the following:

    $ docker build -t docker-registry/image-name .

    $ docker login -u $TENABLE_IO_CONTAINER_SECURITY_USERNAME -p $TENABLE_IO_CONTAINER_SECURITY_PASSWORD registry.tenable.com

    $ docker push docker-registry/image-name

    Drone.io builds for this project are sent to Tenable.io Container Security for storage, distribution, vulnerability scanning, and malicious code scanning.

Copyright © 2017. Tenable Network Security, Inc. All rights reserved. Tenable Network Security, Nessus, SecurityCenter Continuous View, Passive Vulnerability Scanner, and Log Correlation Engine are registered trademarks of Tenable Network Security, Inc. All other products or services are trademarks of their respective owners.