Update .travis.yml

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

View File

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