Knowledge

Build Docker Image

Parameters

Name Description
action Required String The ID of the action.
type Required String The type of the action. Should be set to DOCKERFILE.
trigger_time String Specifies when the action should be executed. Can be one of ON_EVERY_EXECUTION, ON_FAILURE or ON_BACK_TO_SUCCESS.
docker_image_tag String The tag of the Docker image.
login String The username required to connect to the server. Required for delivering the Dockerfile to the Docker Hub or a private registry.
password String The password required to connect to the server. Required for delivering the Dockerfile to the Docker Hub or a private registry.
integration_id Integer The id of the integration. Required for delivering the Dockerfile to the Amazon ECR.
region String The name of the Amazon S3 region. Required for delivering the Dockerfile to the Amazon ECR. The full list of regions is available here.
repository String The location of the Docker repository.
build_args String[] The arguments used when building the image from the Dockerfile.

Example

actions:
  - action: "Build dockerfile"
    type: "DOCKERFILE"
    region: "us-east-1"
    integration_id: 1
    docker_image_tag: "14.06"
    dockerfile_path: "dir/Dockerfile"
    repository: "MyDockerRepo"
    build_args:
    - "key=value"

Get started now

14 days of unlimited trial. No credit card required.