diff options
author | Jessica Wagantall <jwagantall@linuxfoundation.org> | 2020-03-25 14:40:21 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-03-25 14:40:21 +0000 |
commit | c381d6dd55186ea999e30f4d0bc72daf11a4cd08 (patch) | |
tree | 6e88e2f4fc2dd11f9abcf38c9e9ddbeae8257849 | |
parent | bf18226ab206bfbf166a6cf6a23de55dac021563 (diff) | |
parent | af82c4227cb81bfcd185fe2bc6daaec77d632911 (diff) |
Merge "Triple tag dcaegen2-platform py/docker images"
-rw-r--r-- | jjb/dcaegen2/dcaegen2-platform-docker-python-subprojects.yaml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/jjb/dcaegen2/dcaegen2-platform-docker-python-subprojects.yaml b/jjb/dcaegen2/dcaegen2-platform-docker-python-subprojects.yaml index 685582e51..8be8b8257 100644 --- a/jjb/dcaegen2/dcaegen2-platform-docker-python-subprojects.yaml +++ b/jjb/dcaegen2/dcaegen2-platform-docker-python-subprojects.yaml @@ -50,7 +50,16 @@ stream: all branch: '*' - gerrit-docker-verify - - gerrit-docker-merge + - gerrit-docker-merge: + post_docker_build_script: | + set -uex -o pipefail + DOCKER_IMAGE_TAG2=${{DOCKER_IMAGE_TAG%-*}} + DNAME={container-snapshot-registry}/{docker-name} + docker tag $DNAME:$DOCKER_IMAGE_TAG $DNAME:$DOCKER_IMAGE_TAG2 + docker tag $DNAME:$DOCKER_IMAGE_TAG $DNAME:latest + docker push $DNAME:$DOCKER_IMAGE_TAG2 + docker push $DNAME:latest + - gerrit-maven-clm: mvn-params: '-f {src-dir}' stream: master |