sonic-buildimage-msft/.azure-pipelines
Sai Kiran 254035eb8a [docker-ptf]: CI change to publish docker-ptf image to the docker registry (#20528)
Why I did it
Changes to docker-ptf Dockerfile don't get automatically published to the docker registry accessed by the community. This PR addresses the issue.

Work item tracking
Microsoft ADO (number only): 29869315

How I did it
Modified the postSteps phase in azure-pipelines-image-template.yml to invoke the script to push docker-ptf image to the docker registry. The push is applicable to build branches (master, 202305, 202311 etc.) and not feature branches.

How to verify it
TBD

Tested branch (Please provide the tested image version)
Not applicable.

Description for the changelog
[docker-ptf]: CI change to publish docker-ptf image to the public/community docker registry

Change pipeline YAML to publish docker-ptf image to docker registry
Publish only docker-ptf image for main or release branches only and not feature branch

Link to config_db schema for YANG module changes
Not applicable
2024-10-31 13:59:18 +08:00
..
azure-pipelines-Official.yml
azure-pipelines-UpgrateVersion.yml
azure-pipelines-build.yml
azure-pipelines-download-certificate.yml
azure-pipelines-image-template.yml [docker-ptf]: CI change to publish docker-ptf image to the docker registry (#20528) 2024-10-31 13:59:18 +08:00
azure-pipelines-job-groups.yml
azure-pipelines-repd-build-variables.yml
build-commonlib.yml
build-template.yml
check-dirty-version.yml
cleanup.yml
docker-sonic-mgmt.yml
docker-sonic-slave-template.yml
docker-sonic-slave.yml
dpkg-cache-cleanup.yml
official-build-cache.yml
official-build-cisco-8000.yml
official-build.yml [docker-ptf]: CI change to publish docker-ptf image to the docker registry (#20528) 2024-10-31 13:59:18 +08:00
run-test-scheduler-template.yml
run-test-template.yml
template-clean-sonic-slave.yml
template-commonlib.yml
template-daemon.yml
template-skipvstest.yml
template-variables.yml
trigger-publish-artifacts-build.yml
vstest-exclude
vstest-include