Skip to content

Commit

Permalink
Move docker steps to default pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubigla committed May 23, 2020
1 parent 8fc17bb commit 47b06f5
Showing 1 changed file with 13 additions and 24 deletions.
37 changes: 13 additions & 24 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,23 +42,14 @@ steps:
when:
event: tag

volumes:
- name: deps
temp: {}

---
kind: pipeline
name: docker-kubersd

steps:
- name: image
- name: docker-kubers-agent
image: plugins/docker
environment:
VERSION: "${DRONE_TAG}"
settings:
repo: jacops/kubersd
repo: jacops/kubers-agent
auto_tag: true
dockerfile: cmd/kubersd/release.Dockerfile
dockerfile: cmd/kubers-agent/release.Dockerfile
username:
from_secret: docker_hub_username
password:
Expand All @@ -67,22 +58,17 @@ steps:
- VERSION
when:
event: tag
depends_on:
- release

depends_on:
- default

---
kind: pipeline
name: docker-kubers-agent
steps:
- name: image
- name: docker-kubersd
image: plugins/docker
environment:
VERSION: "${DRONE_TAG}"
settings:
repo: jacops/kubers-agent
repo: jacops/kubersd
auto_tag: true
dockerfile: cmd/kubers-agent/release.Dockerfile
dockerfile: cmd/kubersd/release.Dockerfile
username:
from_secret: docker_hub_username
password:
Expand All @@ -91,6 +77,9 @@ steps:
- VERSION
when:
event: tag
depends_on:
- release

depends_on:
- default
volumes:
- name: deps
temp: {}

0 comments on commit 47b06f5

Please sign in to comment.