Misc: reduce differences in Docker and CircleCI configs between branches
This commit is contained in:
1 parent
13b91f5afb
commit
18e2a744bb
2 files changed
+7
-1
No files matched your search
@@ -89,7 +89,7 @@ jobs:
|
||||
docker build --file Dockerfile --force-rm --tag $image_prefix:$CIRCLE_SHA1 --tag $image_prefix:$(echo $CIRCLE_BRANCH | tr '/' '-' | tr '[:upper:]' '[:lower:]') .
|
||||
docker save $image_prefix | gzip > ../../docker.tar.gz
|
||||
if [ "$DOCKERHUB_PUSH_IMAGES" == "TRUE" ]; then
|
||||
if [ "$CIRCLE_BRANCH" == "master" ]; then
|
||||
if [ "$CIRCLE_BRANCH" == "4.3.4" ]; then
|
||||
docker login -u $DOCKERHUB_USERNAME -p $DOCKERHUB_PASSWORD
|
||||
echo "Pushing docker image to dockerhub"
|
||||
docker push --all-tags $image_prefix
|
||||
|
||||
@@ -86,4 +86,10 @@ if(BUILD_TESTING)
|
||||
include(Catch)
|
||||
|
||||
add_subdirectory(tests)
|
||||
|
||||
# Catch cmakefile messes with our settings we explicitly leave up to the user
|
||||
# restore user preference
|
||||
if (NOT WITH_SOURCE_TREE STREQUAL "hierarchical-folders")
|
||||
set_property(GLOBAL PROPERTY USE_FOLDERS OFF)
|
||||
endif()
|
||||
endif()
|
||||
Reference in new issue
Block a user