mirror of
https://github.com/qurator-spk/ocrd-galley.git
synced 2025-06-18 02:59:52 +02:00
🚧 Travis: Fix tagging/pushing/pulling the correct images
This commit is contained in:
parent
17c6b15a1b
commit
13c619a2f0
1 changed files with 3 additions and 0 deletions
|
@ -44,6 +44,7 @@ jobs:
|
|||
|
||||
- stage: "Test"
|
||||
script:
|
||||
- sub_images=`ls -1 Dockerfile-* | sed 's/Dockerfile-//'`
|
||||
- |
|
||||
for x in $sub_images; do
|
||||
docker pull $DOCKER_USERNAME/my_ocrd_workflow-$x:$TRAVIS_COMMIT
|
||||
|
@ -63,6 +64,7 @@ jobs:
|
|||
- stage: "Deploy Docker image - latest"
|
||||
env: DOCKER_TAG=latest
|
||||
script:
|
||||
- sub_images=`ls -1 Dockerfile-* | sed 's/Dockerfile-//'`
|
||||
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
||||
|
||||
- |
|
||||
|
@ -75,6 +77,7 @@ jobs:
|
|||
- stage: "Deploy Docker image - tagged"
|
||||
env: DOCKER_TAG=$TRAVIS_TAG
|
||||
script:
|
||||
- sub_images=`ls -1 Dockerfile-* | sed 's/Dockerfile-//'`
|
||||
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
||||
|
||||
- |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue