mirror of
				https://github.com/factoriotools/factorio-docker.git
				synced 2025-10-31 17:08:08 +01:00 
			
		
		
		
	Format
This commit is contained in:
		
							
								
								
									
										5
									
								
								build.sh
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								build.sh
									
									
									
									
									
								
							| @@ -2,7 +2,7 @@ | ||||
| set -eoux pipefail | ||||
|  | ||||
| if [[ -z ${1:-} ]] && [[ -n ${CI:-} ]]; then | ||||
|   echo "Usage: ./build.sh \$VERSION_SHORT" | ||||
|   echo 'Usage: ./build.sh $VERSION_SHORT' | ||||
|   exit 1 | ||||
| elif [[ $CI == true ]]; then | ||||
|   VERSION_SHORT="$1" | ||||
| @@ -41,8 +41,7 @@ else | ||||
|   fi | ||||
| fi | ||||
|  | ||||
| # shellcheck disable=SC2086 | ||||
| docker build . -t $TAGS | ||||
| docker build . -t "${TAGS[@]}" | ||||
| docker images | ||||
|  | ||||
| # only push when: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user