You are here: Integration Guides > Codeship

Codeship

Before You Begin

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

These steps assume you are already comfortable using Codeship and are already pushing Docker images to a public or private registry. If you are already using Codeship, but have not built Docker container images, familiarize yourself with the Codeship documentation Pushing to a remote registry.

Steps

  1. Edit the codeship-services.yml file to use the Repository Name and Image Name specified in Tenable.io Container Security.

    app:

    build:

    image: repository_name/image_name

    dockerfile_path: Dockerfile

    Note: If this is the first time you are pushing an image into the repository, there is not a preconfigured Image Name. The Image Name will be added automatically after the push from Codeship.

  2. Edit the service section of the the codeship-steps.yml file to look similar to the following:

    service:

    app type: push

    image_name: repository_name/image_name

    registry: https://cloud.flawcheck.com

    encrypted_dockercfg_path: dockercfg.encrypted

    Codeship builds will now be 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.