travis: Tag the last release with latest-release
Signed-off-by: Daniel Wagner <daniel.wagner@siemens.com>
This commit is contained in:
parent
6afd92eabc
commit
6dfc870feb
@ -37,6 +37,8 @@ jobs:
|
|||||||
if [ "$TRAVIS_BRANCH" == "$TAG" ]; then
|
if [ "$TRAVIS_BRANCH" == "$TAG" ]; then
|
||||||
docker tag $IMAGE $IMAGE:$TAG;
|
docker tag $IMAGE $IMAGE:$TAG;
|
||||||
docker push $IMAGE:$TAG;
|
docker push $IMAGE:$TAG;
|
||||||
|
docker tag $IMAGE $IMAGE:latest-release;
|
||||||
|
docker push $IMAGE:latest-release;
|
||||||
elif [ "$TRAVIS_BRANCH" == "next" ]; then
|
elif [ "$TRAVIS_BRANCH" == "next" ]; then
|
||||||
docker tag $IMAGE $IMAGE:next;
|
docker tag $IMAGE $IMAGE:next;
|
||||||
docker push $IMAGE:next;
|
docker push $IMAGE:next;
|
||||||
|
Loading…
Reference in New Issue
Block a user