add proper depend order
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
parent
a8e5767cc1
commit
e8490809e1
1 changed files with 25 additions and 22 deletions
47
.drone.yml
47
.drone.yml
|
@ -3,27 +3,30 @@ name: default
|
|||
type: docker
|
||||
|
||||
steps:
|
||||
|
||||
- name: Build
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: git.froth.zone/sam/drone-deno-deploy
|
||||
dry_run: true
|
||||
when:
|
||||
event:
|
||||
- pull_request
|
||||
|
||||
- name: Build & Publish
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: git.froth.zone
|
||||
username: sam
|
||||
password:
|
||||
from_secret: password
|
||||
repo: git.froth.zone/sam/drone-deno-deploy
|
||||
tags: latest
|
||||
- name: Build
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: git.froth.zone/sam/drone-deno-deploy
|
||||
dry_run: true
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
event:
|
||||
- push
|
||||
- pull_request
|
||||
depends_on:
|
||||
- "clone"
|
||||
|
||||
- name: Build & Publish
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: git.froth.zone
|
||||
username: sam
|
||||
password:
|
||||
from_secret: password
|
||||
repo: git.froth.zone/sam/drone-deno-deploy
|
||||
tags: latest
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
event:
|
||||
- push
|
||||
depends_on:
|
||||
- "clone"
|
||||
|
|
Loading…
Reference in a new issue