split out stages for travis
This commit is contained in:
parent
e5713887f8
commit
e9febb96d6
1 changed files with 0 additions and 3 deletions
|
@ -4,12 +4,9 @@ services:
|
|||
jobs:
|
||||
include:
|
||||
- stage: "Build and Push"
|
||||
name: "Build"
|
||||
script:
|
||||
- docker build -t boerderij/varken:$TRAVIS_BRANCH .
|
||||
- docker images
|
||||
- name: "Push"
|
||||
script:
|
||||
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
||||
- docker push boerderij/varken:$TRAVIS_BRANCH
|
||||
|
||||
|
|
Loading…
Reference in a new issue