Skip to content

Commit

Permalink
Merge pull request #12 from dynatrace-oss/travis
Browse files Browse the repository at this point in the history
Travis
  • Loading branch information
pawelsiwek authored Oct 12, 2020
2 parents 57e3558 + 99b4d23 commit dc5d947
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ notifications:
on_success: never
stages:
- preparation
- docker-build
- docker-deploy
- build-zip
- github-release
Expand All @@ -29,18 +30,22 @@ jobs:
name: dockerconfig
paths:
- $HOME/.docker
- &push_image
stage: docker-deploy
- stage: docker-build
name: Docker build
language: minimal
script: ./build/docker-deploy.sh
workspaces:
use:
name: dockerconfig
- <<: *push_image
name: Push docker image
- stage: docker-deploy
name: Docker deploy
language: minimal
script: ./build/docker-deploy.sh
if: tag =~ /^release-.*
env: PUSH=true
workspaces:
use:
name: dockerconfig
- stage: build-zip
name: zip archive
language: minimal
Expand Down

0 comments on commit dc5d947

Please sign in to comment.