mirror of
				https://github.com/qurator-spk/ocrd-galley.git
				synced 2025-10-26 01:44:14 +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" |     - stage: "Test" | ||||||
|       script: |       script: | ||||||
|  |         - sub_images=`ls -1 Dockerfile-* | sed 's/Dockerfile-//'` | ||||||
|         - | |         - | | ||||||
|           for x in $sub_images; do |           for x in $sub_images; do | ||||||
|             docker pull $DOCKER_USERNAME/my_ocrd_workflow-$x:$TRAVIS_COMMIT |             docker pull $DOCKER_USERNAME/my_ocrd_workflow-$x:$TRAVIS_COMMIT | ||||||
|  | @ -63,6 +64,7 @@ jobs: | ||||||
|     - stage: "Deploy Docker image - latest" |     - stage: "Deploy Docker image - latest" | ||||||
|       env: DOCKER_TAG=latest |       env: DOCKER_TAG=latest | ||||||
|       script: |       script: | ||||||
|  |         - sub_images=`ls -1 Dockerfile-* | sed 's/Dockerfile-//'` | ||||||
|         - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin |         - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin | ||||||
| 
 | 
 | ||||||
|         - | |         - | | ||||||
|  | @ -75,6 +77,7 @@ jobs: | ||||||
|     - stage: "Deploy Docker image - tagged" |     - stage: "Deploy Docker image - tagged" | ||||||
|       env: DOCKER_TAG=$TRAVIS_TAG |       env: DOCKER_TAG=$TRAVIS_TAG | ||||||
|       script: |       script: | ||||||
|  |         - sub_images=`ls -1 Dockerfile-* | sed 's/Dockerfile-//'` | ||||||
|         - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin |         - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin | ||||||
| 
 | 
 | ||||||
|         - | |         - | | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue