Universal git

This commit is contained in:
Eric Nemchik
2020-09-27 19:59:57 -05:00
parent f4cb91a286
commit d1464e1cde
7 changed files with 31 additions and 69 deletions
+4 -4
View File
@@ -4,7 +4,7 @@ language: shell
branches:
only:
- <baseimagename>-<modname> #replace variables, omit brackets
- universal-git #replace variables, omit brackets
services:
- docker
@@ -12,8 +12,8 @@ services:
env:
global:
- DOCKERHUB="linuxserver/mods" #don't modify
- BASEIMAGE="baseimagename" #replace
- MODNAME="modname" #replace
- BASEIMAGE="universal" #replace
- MODNAME="git" #replace
jobs:
include:
@@ -32,4 +32,4 @@ jobs:
- echo $DOCKERPASS | docker login -u $DOCKERUSER --password-stdin
# Push all of the tags
- docker push ${DOCKERHUB}:${BASEIMAGE}-${MODNAME}-${TRAVIS_COMMIT}
- docker push ${DOCKERHUB}:${BASEIMAGE}-${MODNAME}
- docker push ${DOCKERHUB}:${BASEIMAGE}-${MODNAME}