Skip to content
Snippets Groups Projects
Commit ed952009 authored by SingLi's avatar SingLi
Browse files

Merge pull request #1453 from Sing-Li/develop

tag docker artifacts
parents be4c29a6 ab65720d
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,8 @@ script:
- sh ./namedemo.sh
- cd ..
after_deploy:
- "curl -H \"Content-Type: application/json\" --data \"{'build': true}\" -X POST https://registry.hub.docker.com/u/rocketchat/rocket.chat/trigger/$PUSHTOKEN/"
- cd .travis
- sh ./builddocker.sh
deploy:
provider: s3
access_key_id: "AKIAIKIA7H7D47KUHYCA"
......
if [ -z ${TRAVIS_TAG+x} ];
then "curl -H \"Content-Type: application/json\" --data \"{'source_type': 'Branch', 'source_name': \'$TRAVIS_BRANCH\', 'docker_tag': \'`cat ../../build/version.txt`\'}\" -X POST https://registry.hub.docker.com/u/rocketchat/rocket.chat/trigger/$PUSHTOKEN/";
else "curl -H \"Content-Type: application/json\" --data \"{'source_type': 'Tag', 'source_name': \'$TRAVIS_TAG\', 'docker_tag': \'`cat ../../build/version.txt`\'}\" -X POST https://registry.hub.docker.com/u/rocketchat/rocket.chat/trigger/$PUSHTOKEN/";
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment