Update .travis.yml

This commit is contained in:
STAM 2019-09-25 21:57:48 +03:00 committed by GitHub
parent 133e7f68e7
commit 52d6c7be1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,26 +7,28 @@ addons:
apt: apt:
packages: packages:
- docker-ce - docker-ce
script: echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
jobs: jobs:
include: include:
- stage: Base Production image - stage: Base Production image
script: docker build --rm --compress --force-rm -t epicmorg/prod:latest epicmorg/prod script: docker build --rm --compress --force-rm -t epicmorg/prod:latest epicmorg/prod
script: docker push epicmorg/prod:latest
- stage: Base develop image - stage: Base develop image
script: docker build --rm --compress --force-rm -t epicmorg/devel:latest epicmorg/devel script: docker build --rm --compress --force-rm -t epicmorg/devel:latest epicmorg/devel
- stage: Nginx image - stage: Nginx image
script: docker build --rm --compress --force-rm -t epicmorg/balancer:latest epicmorg/balancer/latest script: docker build --rm --compress --force-rm -t epicmorg/balancer:latest balancer/latest
- stage: Nginx-php image - stage: Nginx-php image
script: docker build --rm --compress --force-rm -t epicmorg/balancer:php epicmorg/balancer/php script: docker build --rm --compress --force-rm -t epicmorg/balancer:php balancer/php
- stage: TeamCityAgent image - stage: TeamCityAgent image
script: docker build --rm --compress --force-rm -t epicmorg/teamcity-agent:latest epicmorg/pteamcity-agent script: docker build --rm --compress --force-rm -t epicmorg/teamcity-agent:latest teamcity-agent
- stage: Jira image - stage: Jira image
script: docker build --rm --compress --force-rm -t epicmorg/jira:latest epicmorg/jira/latest script: docker build --rm --compress --force-rm -t epicmorg/jira:latest jira/latest
- stage: Jira 7.10.0 image - stage: Jira 7.10.0 image
script: docker build --rm --compress --force-rm -t epicmorg/jira:latest epicmorg/jira/7.10.0 script: docker build --rm --compress --force-rm -t epicmorg/jira:latest jira/7.10.0
- stage: Jira lts image - stage: Jira lts image
script: docker build --rm --compress --force-rm -t epicmorg/jira:latest epicmorg/jira/7.13.3 script: docker build --rm --compress --force-rm -t epicmorg/jira:latest jira/7.13.3
#future migrated builds #future migrated builds
# - stage: Confluence image # - stage: Confluence image
# script: docker build --rm --compress --force-rm -t epicmorg/confluence:latest epicmorg/confluence/latest # script: docker build --rm --compress --force-rm -t epicmorg/confluence:latest confluence/latest
# - stage: Bitbucket image # - stage: Bitbucket image
# script: docker build --rm --compress --force-rm -t epicmorg/bitbucket:latest epicmorg/bitbucket/latest # script: docker build --rm --compress --force-rm -t epicmorg/bitbucket:latest bitbucket/latest