Update .travis.yml

This commit is contained in:
STAM 2019-09-26 16:26:44 +03:00 committed by GitHub
parent e176597027
commit a062abe3a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,8 +9,7 @@ addons:
- docker-ce - docker-ce
jobs: jobs:
include: include:
- stage: base_production_image - stage: Base Production image
name: "Base Production image"
script: script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build --compress -t epicmorg/prod:latest epicmorg/prod - docker build --compress -t epicmorg/prod:latest epicmorg/prod
@ -40,7 +39,7 @@ jobs:
- docker build --compress -t epicmorg/teamcity-agent:latest teamcity-agent - docker build --compress -t epicmorg/teamcity-agent:latest teamcity-agent
- docker push epicmorg/teamcity-agent:latest - docker push epicmorg/teamcity-agent:latest
- stage: Jira image - stage: Jira Latest image
script: script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build --compress -t epicmorg/jira:latest jira/latest - docker build --compress -t epicmorg/jira:latest jira/latest
@ -52,7 +51,7 @@ jobs:
- docker build --compress -t epicmorg/jira:7.10.0 jira/7.10.0 - docker build --compress -t epicmorg/jira:7.10.0 jira/7.10.0
- docker push epicmorg/jira:7.10.0 - docker push epicmorg/jira:7.10.0
- stage: Jira lts image - stage: Jira 7.13.3 image
script: script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build --compress -t epicmorg/jira:7.13.3 jira/7.13.3 - docker build --compress -t epicmorg/jira:7.13.3 jira/7.13.3