Files
docker-mods-uptime-kuma-tim…/.travis.yml
T
Braincoke 22d97473e1 healthchecks: apprise initial release
Add a docker mod to install apprise in the healthchecks docker image.
2020-05-27 19:36:03 +02:00

35 lines
984 B
YAML

os: linux
language: shell
branches:
only:
- healthchecks-apprise
services:
- docker
env:
global:
- DOCKERHUB="linuxserver/mods"
- BASEIMAGE="healthchecks"
- MODNAME="apprise"
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:
# Build image
- docker build --no-cache -t ${DOCKERHUB}:${BASEIMAGE}-${MODNAME}-${TRAVIS_COMMIT} .
- docker tag ${DOCKERHUB}:${BASEIMAGE}-${MODNAME}-${TRAVIS_COMMIT} ${DOCKERHUB}:${BASEIMAGE}-${MODNAME}
# Login to DockerHub
- 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}