Formatting travis
This commit is contained in:
parent
8f52ba7c7b
commit
2f35822bed
19
.travis.yml
19
.travis.yml
@ -40,15 +40,16 @@ script:
|
|||||||
- docker ps | grep $DOCKER_REPONAME
|
- docker ps | grep $DOCKER_REPONAME
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- test $TRAVIS_PULL_REQUEST = false
|
- |
|
||||||
&& echo "$DOCKER_PASSWORD" | docker login --username "$DOCKER_USERNAME" --password-stdin
|
test $TRAVIS_PULL_REQUEST = false \
|
||||||
&& docker tag $DOCKER_USERNAME/$DOCKER_REPONAME $DOCKER_USERNAME/$DOCKER_REPONAME:$DOCKER_TAG
|
&& echo "$DOCKER_PASSWORD" | docker login --username "$DOCKER_USERNAME" --password-stdin \
|
||||||
&& docker tag $DOCKER_USERNAME/$DOCKER_REPONAME $DOCKER_USERNAME/$DOCKER_REPONAME:$VERSION
|
&& docker tag $DOCKER_USERNAME/$DOCKER_REPONAME $DOCKER_USERNAME/$DOCKER_REPONAME:$DOCKER_TAG \
|
||||||
&& docker push $DOCKER_USERNAME/$DOCKER_REPONAME
|
&& docker tag $DOCKER_USERNAME/$DOCKER_REPONAME $DOCKER_USERNAME/$DOCKER_REPONAME:$VERSION \
|
||||||
&& echo "$QUAY_PASSWORD" | docker login quay.io --username "$QUAY_USERNAME" --password-stdin
|
&& docker push $DOCKER_USERNAME/$DOCKER_REPONAME \
|
||||||
&& docker tag $DOCKER_USERNAME/$DOCKER_REPONAME quay.io/$DOCKER_USERNAME/$DOCKER_REPONAME:$DOCKER_TAG
|
&& echo "$QUAY_PASSWORD" | docker login quay.io --username "$QUAY_USERNAME" --password-stdin \
|
||||||
&& docker tag $DOCKER_USERNAME/$DOCKER_REPONAME quay.io/$DOCKER_USERNAME/$DOCKER_REPONAME:$VERSION
|
&& docker tag $DOCKER_USERNAME/$DOCKER_REPONAME quay.io/$DOCKER_USERNAME/$DOCKER_REPONAME:$DOCKER_TAG \
|
||||||
&& docker push quay.io/$QUAY_USERNAME/$QUAY_REPONAME
|
&& docker tag $DOCKER_USERNAME/$DOCKER_REPONAME quay.io/$DOCKER_USERNAME/$DOCKER_REPONAME:$VERSION \
|
||||||
|
&& docker push quay.io/$QUAY_USERNAME/$QUAY_REPONAME \
|
||||||
&& curl -X POST $MICROBADGER_HOOK
|
&& curl -X POST $MICROBADGER_HOOK
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
|
Loading…
Reference in New Issue
Block a user