mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2025-01-12 14:47:55 +03:00
Update .travis.yml
This commit is contained in:
parent
099426b726
commit
7b6d6388cc
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user