devopshq / artifactory

dohq-artifactory: a Python client for Artifactory
https://devopshq.github.io/artifactory/
MIT License
273 stars 144 forks source link

Add support for "targetTag" variable of Docker Build promotion API #370

Closed rybrow closed 2 years ago

rybrow commented 2 years ago

Looking at the docs and the source code for the promote_docker_image method, it doesnt look like the "targetTag" variable is supported as per https://www.jfrog.com/confluence/display/JFROG/Artifactory+REST+API#ArtifactoryRESTAPI-PromoteDockerImage

We should be able to specify target tags similar to the JFROG API via this library , for example

path.promote_docker_image("docker-local", "docker-release-candidate", "my-application", "0.5.1", target_tag="0.5.1-RC1")

beliaev-maksim commented 2 years ago

I think this was added only in the latest version of API