🚧 Travis: Fix tagging/pushing/pulling the correct images

pull/27/head
Gerber, Mike 4 years ago
parent d4cc0c16c0
commit 436bb32a82

@ -68,7 +68,7 @@ jobs:
- |
for x in $sub_images; do
docker pull $DOCKER_USERNAME/my_ocrd_workflow-$x:$TRAVIS_COMMIT
docker tag $DOCKER_USERNAME/my_ocrd_workflow-$x:$TRAVIS_COMMIT my_ocrd_workflow-$x:$DOCKER_TAG
docker tag $DOCKER_USERNAME/my_ocrd_workflow-$x:$TRAVIS_COMMIT $DOCKER_USERNAME/my_ocrd_workflow-$x:$DOCKER_TAG
docker push $DOCKER_USERNAME/my_ocrd_workflow-$x:$DOCKER_TAG
done
@ -80,6 +80,6 @@ jobs:
- |
for x in $sub_images; do
docker pull $DOCKER_USERNAME/my_ocrd_workflow-$x:$TRAVIS_COMMIT
docker tag $DOCKER_USERNAME/my_ocrd_workflow-$x:$TRAVIS_COMMIT my_ocrd_workflow-$x:$DOCKER_TAG
docker tag $DOCKER_USERNAME/my_ocrd_workflow-$x:$TRAVIS_COMMIT $DOCKER_USERNAME/my_ocrd_workflow-$x:$DOCKER_TAG
docker push $DOCKER_USERNAME/my_ocrd_workflow-$x:$DOCKER_TAG
done

Loading…
Cancel
Save