Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI and Tests #13

Open
lucymhdavies opened this issue Jun 4, 2018 · 1 comment
Open

CI and Tests #13

lucymhdavies opened this issue Jun 4, 2018 · 1 comment
Labels
enhancement New feature or request

Comments

@lucymhdavies
Copy link
Contributor

No description provided.

@lucymhdavies lucymhdavies added the enhancement New feature or request label Jun 4, 2018
@wheresalice
Copy link

Assuming we're going with Travis, the .travis.yml file for building and pushing the Dockerfile will look something like:

sudo: required
services:
  - docker
env:
  global:
    - REGISTRY_USER=welcomebot
script:
  - docker build --tag skybet/welcomebot .

after_script:
  - docker images

before_deploy:
  - docker login -u "$REGISTRY_USER" -p "$REGISTRY_PASS"
deploy:
  provider: script
  script: docker push skybet/welcomebot
  on:
    branch: master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants