Update .travis.yml

This commit is contained in:
STAM 2019-09-25 22:04:54 +03:00 committed by GitHub
parent 099426b726
commit 7b6d6388cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,11 +7,11 @@ 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 && docker push epicmorg/prod:latest script: echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin && docker build --rm --compress --force-rm -t epicmorg/prod:latest epicmorg/prod && 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