mirror of
				https://github.com/factoriotools/factorio-docker.git
				synced 2025-10-31 00:48:07 +01:00 
			
		
		
		
	ci: log into docker hub to pull the hadolint image
This commit is contained in:
		| @@ -12,6 +12,8 @@ jobs: | ||||
|   include: | ||||
|     - stage: test | ||||
|       script: | ||||
|         # Travis gets rate limited by Docker HUB. | ||||
|         - [[ -n $DOCKER_PASSWORD && -n $DOCKER_USERNAME ]] && echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin | ||||
|         - git ls-files --exclude='*Dockerfile' --ignored | xargs --max-lines=1 -I{} sh -c 'docker run --rm -i -v ${PWD}/.hadolint.yaml:/.hadolint.yaml hadolint/hadolint < "$1"' -- {} | ||||
|         - bash -c 'shopt -s globstar; shellcheck **/*.sh' | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user