-
-
Save jayunit100/131ffd7052e5f6fcf68c6d05779217fb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CONTAINERS=('jobrunner' 'zookeeper' 'postgres' 'webapp' 'jobrunner' 'cfssl' 'logstash' 'registration' 'documentation' 'solr' 'nginx'); | |
| VERSION="4.2.0-SNAPSHOT" | |
| set -x | |
| for i in "${CONTAINERS[@]}" ; do | |
| TO_PUSH="blackducksoftware/rpacheco-hub-${i}:${VERSION}" | |
| NEW_IMAGE="jayunit100/joel-${i}:${VERSION}" | |
| docker pull $TO_PUSH | |
| docker tag $TO_PUSH $NEW_IMAGE | |
| docker push $NEW_IMAGE | |
| done | |
| # docker tag blackducksoftware/rpacheco-hub-jobrunner:4.2.0-SNAPSHOT jayunit100/hub-jobrunner-joel:4.2.0-SNAPSHOT | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment