# Travis-GIThub-Docker-IBM cloud

**URL:** <https://travis-ci.community/t/travis-github-docker-ibm-cloud/9322>\
**Category:** Deployment\
**Tags:** travis-build\
**Created:** [July 13, 2020, 2:29pm UTC](https://travis-ci.community/t/travis-github-docker-ibm-cloud/9322 "2020-07-13T14:29:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![satmahesh](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/satmahesh/32/4930_2.png) [@satmahesh](https://travis-ci.community/u/satmahesh)\
**Post date:** [July 13, 2020, 2:29pm UTC](https://travis-ci.community/t/travis-github-docker-ibm-cloud/9322/1 "2020-07-13T14:29:34Z")

</div>

Hi Team,

Configuring travis with GIT hub with Docker file with IBM cloud

I have created job to build image but ending with error in attached file.

 ![Untitled](https://us1.discourse-cdn.com/flex015/uploads/travis_ci/original/2X/f/f882ae3e45cd449bc964731f16f5bf94a14825a7.png)

travis.yml

language: continuumio/miniconda3  
services:

- docker  
before\_script: pip install docker-compose  
script:
- docker build -t tdi.analytics.siem .
- docker tag tdi.analytics.siem:latest [us.icr.io/think-tank-lab\_dev/tdi.analytics.siem.0.0.1-develop.6c6bdbb](http://us.icr.io/think-tank-lab_dev/tdi.analytics.siem.0.0.1-develop.6c6bdbb)
- docker run -p 9175:9175 -e APP\_NAME=‘tdi.analytics.siem’ ararest/tss\_analysis:ARA0001 'source /code/resources/scripts/run\_araoffenses.sh

Docker file

FROM continuumio/miniconda3  
LABEL maintainer=“[https://github.ibm.com/security-think-tank/ara\_analysis](https://github.ibm.com/security-think-tank/ara_analysis)”

WORKDIR /code  
COPY environment.yml /code  
RUN conda env create -f=environment.yml  
COPY . /code

RUN /bin/bash -c “source /opt/conda/etc/profile.d/conda.sh &&   
conda activate aranalysis &&   
source /code/environment.sh”

EXPOSE 9175  
ENTRYPOINT [“/bin/bash” , “-c”]

---

<div class="post-metadata">

**Author:** ![satmahesh](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/satmahesh/32/4930_2.png) [@satmahesh](https://travis-ci.community/u/satmahesh)\
**Post date:** [July 14, 2020, 2:50pm UTC](https://travis-ci.community/t/travis-github-docker-ibm-cloud/9322/2 "2020-07-14T14:50:46Z")

</div>

I am able to figure out issue and made some changes in .travis.yml file

Now am getting docker login error, need to understand where we can include docker credentials

 ![error](https://us1.discourse-cdn.com/flex015/uploads/travis_ci/original/2X/c/c13d01bbd361a52268e90304775c88f12df876a5.png)
