mirror of
https://github.com/zokradonh/kopano-docker
synced 2025-06-07 07:56:12 +00:00
Fix pushing for other travis accounts (#282)
* do not cleanup on deploy * uncomment ldap variables before sourcing
This commit is contained in:
parent
012d64d2bd
commit
9bb7f04670
@ -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"
|
||||
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user