Skip to content

Commit beff8cd

Browse files
authored
Merge pull request #18 from bkuhl/master
Added travis configuration for auto builds
2 parents 20a2d9f + de192e6 commit beff8cd

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.travis.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
services: docker
2+
before_install:
3+
# set env vars in the build settings to interact with repositories
4+
# see https://docs.travis-ci.com/user/environment-variables/#Defining-Variables-in-Repository-Settings
5+
- docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
6+
script:
7+
- docker build -t "zopanix/factorio:${TRAVIS_TAG}" .
8+
deploy:
9+
provider: script
10+
script: docker push "zopanix/factorio:${TRAVIS_TAG}"
11+
skip_cleanup: false
12+
on:
13+
tags: true

0 commit comments

Comments
 (0)