Flutter plugin

This commit is contained in:
Flavio Barisi
2020-08-13 11:35:14 +02:00
parent f4cb91a286
commit db7ba49d2c
6 changed files with 22 additions and 61 deletions
+5 -10
View File
@@ -4,24 +4,19 @@ language: shell
branches:
only:
- <baseimagename>-<modname> #replace variables, omit brackets
- code-server-flutter
services:
- docker
env:
global:
- DOCKERHUB="linuxserver/mods" #don't modify
- BASEIMAGE="baseimagename" #replace
- MODNAME="modname" #replace
- DOCKERHUB="flavio20002/mods"
- BASEIMAGE="code-server"
- MODNAME="python3"
jobs:
include:
- stage: PR-BuildImage
if: (type IN (pull_request))
script:
# Build image
- docker build --no-cache -t ${DOCKERHUB}:${BASEIMAGE}-${MODNAME}-${TRAVIS_COMMIT} .
- stage: BuildImage
if: (NOT (type IN (pull_request)))
script:
@@ -32,4 +27,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}