mirror of
https://github.com/openfaas/faas.git
synced 2025-06-13 02:36:46 +00:00
Updated travis.yml to not push 'latest' tag
Signed-off-by: Burton Rheutan <rheutan7@gmail.com>
This commit is contained in:
parent
9bd10a6649
commit
38e0a9956f
@ -14,3 +14,9 @@ script:
|
|||||||
- sh build.sh
|
- sh build.sh
|
||||||
# Invoke ci script too
|
# Invoke ci script too
|
||||||
- sh contrib/ci.sh
|
- sh contrib/ci.sh
|
||||||
|
after_success:
|
||||||
|
- if [ ! -s "$TRAVIS_TAG" ] ; then
|
||||||
|
docker tag $DOCKER_USERNAME/gateway:latest-dev $DOCKER_USERNAME/gateway:$TRAVIS_TAG;
|
||||||
|
docker login -u=$DOCKER_USERNAME -p=$DOCKER_PASSWORD;
|
||||||
|
docker push $DOCKER_USERNAME/gateway:$TRAVIS_TAG;
|
||||||
|
fi
|
Loading…
x
Reference in New Issue
Block a user