mirror of
				https://github.com/factoriotools/factorio-docker.git
				synced 2025-10-31 08:58:08 +01:00 
			
		
		
		
	CI: Tag Docker Image with $VERSION_SHORT on git tag building
This commit is contained in:
		
							
								
								
									
										2
									
								
								build.sh
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								build.sh
									
									
									
									
									
								
							| @@ -19,7 +19,7 @@ DOCKER_REPO=factoriotools/factorio | ||||
| if [ "$TRAVIS_PULL_REQUEST" == "true" ]; then | ||||
|   TAGS="$DOCKER_REPO:$TRAVIS_PULL_REQUEST_SLUG" | ||||
| else | ||||
|   if [ "$TRAVIS_BRANCH" == "master" ]; then | ||||
|   if [ "$TRAVIS_BRANCH" == "master" ] || [ "$TRAVIS_BRANCH" == "$VERSION" ]; then | ||||
|     TAGS="$DOCKER_REPO:$VERSION -t $DOCKER_REPO:$VERSION_SHORT" | ||||
|   elif [ -n "$TRAVIS_BRANCH" ]; then | ||||
|     TAGS="$DOCKER_REPO:$TRAVIS_BRANCH" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user