adding rough draft docs for review

This commit is contained in:
thelamer
2019-04-14 22:28:48 -07:00
parent c02f8e7e8e
commit 5aeb83b384
6 changed files with 236 additions and 3 deletions
+24
View File
@@ -0,0 +1,24 @@
sudo: true
language: bash
services:
- docker
env:
global:
- DOCKERHUB="user/endpoint"
jobs:
include:
- stage: BuildImage
if: (NOT (type IN (pull_request)))
script:
# Build image
- docker build --no-cache -t ${DOCKERHUB}:${TRAVIS_COMMIT} .
- docker tag ${DOCKERHUB}:${TRAVIS_COMMIT} ${DOCKERHUB}:latest
# Login to DockerHub
- echo $DOCKERPASS | docker login -u $DOCKERUSER --password-stdin
# Push all of the tags
- docker push ${DOCKERHUB}:${TRAVIS_COMMIT}
- docker push ${DOCKERHUB}:latest