mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 17:05:32 +00:00
Fixed encrypted docker creds.
This commit is contained in:
parent
129ff13955
commit
e0d4231838
|
@ -1,12 +1,6 @@
|
|||
sudo: required
|
||||
language: python
|
||||
|
||||
env:
|
||||
global:
|
||||
- secure: cOQ0S8mSipRPkbzhFFZFiP5kpAQY/6C2LLU2vx0DNpjlVEDEI1IKRoL4Em4m+Q0+XEypprMuEtwtTVoyBxCsRmmR1B7WbZCwJAvRTyFHL7R9CRe1VaHLXkdOrvh2QN4RtGaVsQEF4GWY3y7r8PzXE4WWkvFhdWCAP1qn5IHEpHc=
|
||||
- secure: NyEO+wZcFT9p5gMFucKU5wL8oCd9ISVAudMJ1SzKctg+ysEValj0BonTIsC0H8Wrg90DyWm0hEXHNnKfufco9RnlZo5MAAtVTP+jWsR0LH0rf2B+IFAkOcBxZSJ4lJVamSUu0Tbq7eHO1FHhHvtv0gFEZFdtgWGI7DKhBIiX25Y=
|
||||
- secure: a7Rzwf67nNJIPZGSPlOlQ8gsLBsnE1A0WFZ0tQZMt/4eoKTztsMu5uMZ8nokbF1BFCcQQH00MVRn77aE25ptkUk1M5oiGZYjAL1Bn6L1wspvhPYqNybAP6zZGhqYcA4VapBCW8vCKeOeRyipUpzYbxEzmE+meoqCGEVM2prYd1w=
|
||||
|
||||
services:
|
||||
- docker
|
||||
|
||||
|
|
|
@ -5,8 +5,11 @@
|
|||
# registry. This script should only be called during a travis build trigger by a tag.
|
||||
######################################
|
||||
|
||||
# Nerver use "set -x" or it would expose the docker credentials in the travis logs!
|
||||
set -e
|
||||
set -o pipefail
|
||||
set -e -x
|
||||
|
||||
docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
|
||||
|
||||
## Always use the base image we build manually to reduce the download size of the end user.
|
||||
docker pull seafileorg/base:16.04
|
||||
|
|
Loading…
Reference in a new issue