DockerPush - YAML Schema

JFrog Pipelines Documentation

Products
JFrog Pipelines
Content Type
User Guide

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

DockerPush

pipelines: 
  - name:   <string>
    steps:
      - name: <string>
        type: DockerPush
        configuration:
          #inherits all the tags from bash
          affinityGroup:        <string>
          targetRepository:     <string>        #  may be required. Must be a local repository. Virtual repositories are not supported.
          forceXrayScan:        <boolean>       # default false
          failOnScan:           <boolean>       # default true
          autoPublishBuildInfo: <boolean>       # default false

          integrations:
            - name:             <artifactory integration>  # required artifactory integration or JFrog platform access token integration
          inputSteps:
            - name:             <DockerBuild step>         # required
          outputResources:
            - name:                 <Image resource>           # optional
            - name:                 <BuildInfo resource>       # required if autoPublishBuildInfo is true

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