Skip to content

Commit

Permalink
echo env var
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Feb 20, 2018
1 parent aa64b5f commit 83f529a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .ci/travis/linux/before_script.sh
Expand Up @@ -17,6 +17,13 @@ set -e

pushd .docker

echo "travis_fold:start:travis environment"
echo "DOCKER_TAG $DOCKER_TAG"
echo "DOCKER_DEPS_PUSH $DOCKER_DEPS_PUSH"
echo "DOCKER_DEPS_IMAGE_REBUILD $DOCKER_DEPS_IMAGE_REBUILD"
echo "DOCKER_QGIS_IMAGE_BUILD_PUSH $DOCKER_QGIS_IMAGE_BUILD_PUSH"
echo "QGIS_LAST_BUILD_SUCCESS $QGIS_LAST_BUILD_SUCCESS"
echo "travis_fold:end:travis environment"
echo "travis_fold:start:docker"

docker --version
Expand All @@ -39,6 +46,7 @@ echo "travis_fold:end:docker"
# image should be pushed even if QGIS build fails
# but push is achieved only on branches (not for PRs)
if [[ $DOCKER_DEPS_PUSH =~ true ]]; then
echo "push to qgis/qgis3-build-deps:${DOCKER_TAG}"
docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
#docker tag "qgis/qgis3-build-deps:${DOCKER_TAG}" "qgis/qgis3-build-deps:latest"
docker push "qgis/qgis3-build-deps:${DOCKER_TAG}"
Expand Down

0 comments on commit 83f529a

Please sign in to comment.