🚧 Travis: Fix build stage

pull/27/head
Gerber, Mike 4 years ago
parent 73ffa01d12
commit 21c1f310b1

@ -21,14 +21,16 @@ jobs:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
# We are using the image my_ocrd_workflow to cache, so pull and tag it # We are using the image my_ocrd_workflow to cache, so pull and tag it
- docker pull $DOCKER_USERNAME/my_ocrd_workflow # FIXME
- docker tag $DOCKER_USERNAME/my_ocrd_workflow my_ocrd_workflow #- docker pull $DOCKER_USERNAME/my_ocrd_workflow
#- docker tag $DOCKER_USERNAME/my_ocrd_workflow my_ocrd_workflow
- FORCE_DOWNLOAD=y ./build - FORCE_DOWNLOAD=y ./build
- docker tag my_ocrd_workflow $DOCKER_USERNAME/my_ocrd_workflow:$TRAVIS_COMMIT # FIXME
- docker images #- docker tag my_ocrd_workflow $DOCKER_USERNAME/my_ocrd_workflow:$TRAVIS_COMMIT
- docker push $DOCKER_USERNAME/my_ocrd_workflow:$TRAVIS_COMMIT #- docker images
#- docker push $DOCKER_USERNAME/my_ocrd_workflow:$TRAVIS_COMMIT
- stage: "Test" - stage: "Test"
script: script:

Loading…
Cancel
Save