Pass through travis tag in run.sh

This commit is contained in:
Anmol Sethi 2020-02-18 16:34:28 -05:00
parent bdb189a9bb
commit 1aaa53622d
No known key found for this signature in database
GPG Key ID: 8CEF1878FF10ADEB

View File

@ -7,7 +7,7 @@ main() {
docker build ci/image docker build ci/image
imageTag="$(docker build -q ci/image)" imageTag="$(docker build -q ci/image)"
docker run -t --rm -e CI -e GITHUB_TOKEN -v "$(yarn cache dir):/usr/local/share/.cache/yarn/v6" -v "$PWD:/repo" -w /repo "$imageTag" "$*" docker run -t --rm -e CI -e GITHUB_TOKEN -e TRAVIS_TAG -v "$(yarn cache dir):/usr/local/share/.cache/yarn/v6" -v "$PWD:/repo" -w /repo "$imageTag" "$*"
} }
main "$@" main "$@"