mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2024-12-26 02:48:23 +01:00
ci: fix invalid yaml
This commit is contained in:
parent
cfbef2aedb
commit
bd7347b42c
@ -13,7 +13,8 @@ jobs:
|
|||||||
- stage: test
|
- stage: test
|
||||||
script:
|
script:
|
||||||
# Travis gets rate limited by Docker HUB.
|
# Travis gets rate limited by Docker HUB.
|
||||||
- [[ -n $DOCKER_PASSWORD && -n $DOCKER_USERNAME ]] && echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
- |
|
||||||
|
[[ -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"' -- {}
|
- 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'
|
- bash -c 'shopt -s globstar; shellcheck **/*.sh'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user