mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-08 00:41:14 -04:00
Flutter plugin
This commit is contained in:
+5
-10
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user