Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fe31969

Browse filesBrowse files
author
bradmorg
committed
added variables
1 parent 2d4f1bf commit fe31969
Copy full SHA for fe31969

File tree

Expand file treeCollapse file tree

1 file changed

+7
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+7
-2
lines changed

‎.travis.yml

Copy file name to clipboard
+7-2Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
1+
env:
2+
- IMGNAME=bradmorg/ubuntu:dbot
3+
14
services:
25
- docker
36

4-
#before_install:
5-
#- docker image build -t ubuntu:dbot .
7+
before_install:
8+
- docker image build -t ${IMGNAME} .
69

710
script:
811
- docker images
912

1013

1114
after_success:
15+
- docker login -u ${DHUB_USERNAME} -p ${DHUB_PASS}
16+
- docker push ${IMGNAME}
1217
- echo "${SSH_KEY}" | base64 --decode > /tmp/ssh_rsa
1318
- chmod 600 /tmp/ssh_rsa
1419
- ssh -o "StrictHostKeyChecking no" pi@${IPADDR} -i /tmp/ssh_rsa "docker run -d -e TOKEN=${TOKEN} ubuntu:dbot"

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.