Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

Commit

Permalink
Fix Docker release script for Travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
gijskant committed Jun 5, 2020
1 parent 42bf388 commit e03d378
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ jobs:
# For the notification, configure `SLACK_WEBHOOK`
# - `travis env set SLACK_WEBHOOK "https://hooks.slack.com/services/..."`
after_deploy:
- export GRADLE_SCRIPT=$GRADLE_SCRIPT
- travis_retry ./.travis/docker_release.sh
- ./.travis/notify.sh

Expand Down
2 changes: 1 addition & 1 deletion .travis/docker_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

here=$(dirname "${0}")
pushd "${here}/.."
TRANSMART_VERSION=$(gradle properties | grep '^version: ' - | awk '{print $2}')
TRANSMART_VERSION=$(${GRADLE_SCRIPT} properties | grep '^version: ' - | awk '{print $2}')
popd

docker build --build-arg "TRANSMART_VERSION=${TRANSMART_VERSION}" -t "thehyve/transmart-api-server:${TRANSMART_VERSION}" "${here}/../docker/transmart-api-server" && \
Expand Down

0 comments on commit e03d378

Please sign in to comment.