When packaging a PR, the generated docker image is pushed to our docker registry with the name of the snapshot. We'd like to generate the docker image including the PR ID:
- def newName = "${DOCKER_REGISTRY}/observability-ci/${name}:${libbetaVer}"
- def commitName = "${DOCKER_REGISTRY}/observability-ci/${name}:${env.GIT_BASE_COMMIT}"
+ def newName = "${DOCKER_REGISTRY}/observability-ci/${name}:${PR_ID}-${libbetaVer}"
+ def commitName = "${DOCKER_REGISTRY}/observability-ci/${name}:${PR_ID}-${env.GIT_BASE_COMMIT}"
cc/ @elastic/observablt-robots @ph @EricDavisX
When packaging a PR, the generated docker image is pushed to our docker registry with the name of the snapshot. We'd like to generate the docker image including the PR ID:
cc/ @elastic/observablt-robots @ph @EricDavisX