1
0
mirror of https://github.com/zokradonh/kopano-docker.git synced 2026-08-11 16:32:59 +00:00

Fix pushing for other travis accounts (#282)

* do not cleanup on deploy
* uncomment ldap variables before sourcing
This commit is contained in:
Felix Bartels
2019-11-12 12:03:58 +01:00
committed by GitHub
parent 012d64d2bd
commit 9bb7f04670
3 changed files with 9 additions and 1 deletions
+3
View File
@@ -10,6 +10,9 @@ tmpfile=$(mktemp /tmp/kopano-docker-env.XXXXXX)
cp ./.env "$tmpfile"
sed -i '/LDAP_QUERY_FILTER/s/^/#/g' "$tmpfile"
sed -i '/SASLAUTHD_LDAP_FILTER/s/^/#/g' "$tmpfile"
sed -i '/KCUNCOMMENT_LDAP_1/s/^/#/g' "$tmpfile"
sed -i '/KCCOMMENT_LDAP_1/s/^/#/g' "$tmpfile"
# shellcheck disable=SC1090
source "$tmpfile"
+3 -1
View File
@@ -28,7 +28,9 @@ script:
- make test-startup-meet-demo
deploy:
- provider: script
script: make publish
skip-cleanup: true
script:
- make publish
on:
branch: master
#cache: # uncomment to not load/upload trivy files each time
+3
View File
@@ -19,6 +19,9 @@ tmpfile=$(mktemp /tmp/kopano-docker-env.XXXXXX)
cp ../.env "$tmpfile"
sed -i '/LDAP_QUERY_FILTER/s/^/#/g' "$tmpfile"
sed -i '/SASLAUTHD_LDAP_FILTER/s/^/#/g' "$tmpfile"
sed -i '/KCUNCOMMENT_LDAP_1/s/^/#/g' "$tmpfile"
sed -i '/KCCOMMENT_LDAP_1/s/^/#/g' "$tmpfile"
# shellcheck disable=SC1090
source "$tmpfile"