add proper depend order
All checks were successful
continuous-integration/drone/push Build is passing

Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
Sam Therapy 2022-10-27 16:30:23 +02:00
parent a8e5767cc1
commit e8490809e1
Signed by: sam
GPG key ID: 4D8B07C18F31ACBD

View file

@ -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"