mirror of
				https://github.com/zokradonh/kopano-docker
				synced 2025-10-31 10:27:14 +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" | cp ./.env "$tmpfile" | ||||||
| sed -i '/LDAP_QUERY_FILTER/s/^/#/g' "$tmpfile" | sed -i '/LDAP_QUERY_FILTER/s/^/#/g' "$tmpfile" | ||||||
| sed -i '/SASLAUTHD_LDAP_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 | # shellcheck disable=SC1090 | ||||||
| source "$tmpfile" | source "$tmpfile" | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -28,7 +28,9 @@ script: | |||||||
|   - make test-startup-meet-demo |   - make test-startup-meet-demo | ||||||
| deploy: | deploy: | ||||||
|   - provider: script |   - provider: script | ||||||
|     script: make publish |     skip-cleanup: true | ||||||
|  |     script: | ||||||
|  |       - make publish | ||||||
|     on: |     on: | ||||||
|       branch: master |       branch: master | ||||||
| #cache: # uncomment to not load/upload trivy files each time | #cache: # uncomment to not load/upload trivy files each time | ||||||
|  | |||||||
| @ -19,6 +19,9 @@ tmpfile=$(mktemp /tmp/kopano-docker-env.XXXXXX) | |||||||
| cp ../.env "$tmpfile" | cp ../.env "$tmpfile" | ||||||
| sed -i '/LDAP_QUERY_FILTER/s/^/#/g' "$tmpfile" | sed -i '/LDAP_QUERY_FILTER/s/^/#/g' "$tmpfile" | ||||||
| sed -i '/SASLAUTHD_LDAP_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 | # shellcheck disable=SC1090 | ||||||
| source "$tmpfile" | source "$tmpfile" | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user