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

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 is added automatically after the push from Codeship.

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