mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +00:00
travis: unify indentation in .travis.yml
This commit is contained in:
parent
7054e7dd43
commit
d54881b6c8
1 changed files with 7 additions and 7 deletions
14
.travis.yml
14
.travis.yml
|
@ -1,20 +1,20 @@
|
|||
language: minimal
|
||||
|
||||
env:
|
||||
global:
|
||||
# Sanitize git branch name into a valid docker tag name
|
||||
- IMAGE_TAG_NAME=$(echo -n $TRAVIS_BRANCH | tr -c "[a-zA-Z0-9._'" "_")
|
||||
global:
|
||||
# Sanitize git branch name into a valid docker tag name
|
||||
- IMAGE_TAG_NAME=$(echo -n $TRAVIS_BRANCH | tr -c "[a-zA-Z0-9._'" "_")
|
||||
|
||||
services:
|
||||
- docker
|
||||
- docker
|
||||
|
||||
script:
|
||||
- make image -e
|
||||
- make image -e
|
||||
|
||||
deploy:
|
||||
- on:
|
||||
branch: master
|
||||
condition: -n "$IMAGE_REPO_USER"
|
||||
branch: master
|
||||
condition: -n "$IMAGE_REPO_USER"
|
||||
provider: script
|
||||
script: echo "$IMAGE_REPO_PASSWORD" | docker login -u "$IMAGE_REPO_USER" --password-stdin quay.io && make push -e
|
||||
- on:
|
||||
|
|
Loading…
Reference in a new issue