Skip to content

Commit

Permalink
Merge pull request #195 from carlosms/dockerhub-push-travis
Browse files Browse the repository at this point in the history
Move docker release back to Travis
  • Loading branch information
carlosms authored Aug 27, 2018
2 parents 63e790b + fe423c3 commit cffb857
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,18 +63,3 @@ pipeline:
when:
branch: [master]
event: [push]

# Push to DockerHub when a new tag is created

build_release:
<<: *build
when:
event: [tag]

docker_image_release:
<<: *docker_image
tags:
- '${DRONE_TAG}'
- 'latest'
when:
event: [tag]
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,11 @@ jobs:
before_install: skip
script: PKG_OS="darwin" make packages-sdk
deploy: *deploy_anchor
- name: "push image to Docker Hub"
stage: release
script:
- PKG_OS=linux make build
- DOCKER_PUSH_LATEST=true make docker-push
- name: "push dummy analyzer image to Docker Hub"
stage: release dummy analyzer
script:
Expand Down

0 comments on commit cffb857

Please sign in to comment.