DockerBuild - YAML Schema

JFrog Pipelines Documentation

Products
JFrog Pipelines
Content Type
User Guide
ft:sourceType
Paligo

The YAML schema for DockerBuild native step is shown below. For more information on DockerBuild Pipeline steps, see DockerBuild.

DockerBuild

pipelines: 
  - name: <string>
    steps:
      - name: <string>
        type: DockerBuild
        configuration:
          #inherits all the tags from bash
          affinityGroup:       <string>
          dockerFileLocation:  <string>
          dockerFileName:      <string>
          dockerImageName:     <string>
          dockerImageTag:      <string>
          dockerOptions:       <string>

          integrations:
            - name:            <artifactory/JFrog platform access token or docker registry integration>  # required

          inputResources:
            - name:             <GitRepo resource>        # required, git repository containing your Dockerfile
            - name:             <Image resource>          # optional base image
            - name:             <FileSpec resource>       # optional

        execution:
          onStart:
            - echo "Preparing for work..."
          onSuccess:
            - echo "Job well done!"
          onFailure:
            - echo "uh oh, something went wrong"
          onComplete: #always
            - echo "Cleaning up some stuff"