🚧 Travis: Fix build stage

pull/27/head
Gerber, Mike 4 years ago
parent eb820bac72
commit 0074ac405e

@ -23,7 +23,7 @@ jobs:
# We are using the images to cache, so pull and tag it # We are using the images to cache, so pull and tag it
- | - |
for x in sub_images; do for x in $sub_images; do
docker pull $DOCKER_USERNAME/my_ocrd_workflow-$x || true docker pull $DOCKER_USERNAME/my_ocrd_workflow-$x || true
docker tag $DOCKER_USERNAME/my_ocrd_workflow-$x my_ocrd_workflow-$x || true docker tag $DOCKER_USERNAME/my_ocrd_workflow-$x my_ocrd_workflow-$x || true
done done
@ -32,13 +32,13 @@ jobs:
- | - |
set -e set -e
for x in sub_images; do for x in $sub_images; do
docker tag my_ocrd_workflow-$x $DOCKER_USERNAME/my_ocrd_workflow-$x:$TRAVIS_COMMIT docker tag my_ocrd_workflow-$x $DOCKER_USERNAME/my_ocrd_workflow-$x:$TRAVIS_COMMIT
done done
- docker images - docker images
- | - |
set -e set -e
for x in sub_images; do for x in $sub_images; do
docker push $DOCKER_USERNAME/my_ocrd_workflow-$x:$TRAVIS_COMMIT docker push $DOCKER_USERNAME/my_ocrd_workflow-$x:$TRAVIS_COMMIT
done done

Loading…
Cancel
Save