This Pipelines Task is used to push a Docker image.
Prerequisites
This task requires jfrog-cli installed
Usage
Basic:
- task: jfrog/docker_build_publish@v0.0.1 id: docker_build_publish input: resourceName: "go_app_gitrepo" dockerImage: "<JPD_URL>/<ARTIFACTORY_REPOSITORY>/<DOCKER_IMAGE>:<DOCKER_TAG>" dockerFileLocation: "" dockerFileName: "" optionalParams: "" yaml - task: jfrog/docker_build_publish@v0.0.1 id: docker_build_publish input: dockerImage: "<JPD_URL>/<ARTIFACTORY_REPOSITORY>/<DOCKER_IMAGE>:<DOCKER_TAG>" autoPublishBuildInfo: "true" xrayScan: "true" failOnScan: "false" outputBuildInfoResourceName: myStepBuildInfo
Input Variables
Name | Description |
---|---|
dockerImage | Input has to be provided as DockerImage. |
autoPublishBuildInfo | Optional. Build information is not published if set to false. Default value is false. |
xrayScan | Optional. When true, xray scan is performed, provided xray related configuration is set and available. Default value is false. |
failOnScan | Optional. Default set to true. |
outputBuildInfoResourceName | Optional. This is an output resource name of type BuildInfo. Writes build info to this output resource. |
Output Variables
None
Exported Environment Variables
None
License
This project is licensed under Apache 2.0 license.
Related Tasks
docker-build