Update drone

This commit is contained in:
Yarmo Mackenbach 2020-08-09 15:15:14 +02:00
parent 8cc8c1128b
commit 3d08f0b185

View file

@ -4,7 +4,7 @@ kind: pipeline
name: build-stable-container
steps:
- name: docker
- name: build stable container
image: plugins/docker
settings:
username:
@ -12,13 +12,36 @@ steps:
password:
from_secret: docker_password
repo: keyoxide/keyoxide
tags: stable
auto_tag: true
trigger:
branch:
- main
event:
- push
- tag
---
kind: pipeline
name: build-dev-container
steps:
- name: build dev container
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: keyoxide/keyoxide
tags: dev
trigger:
branch:
- dev
event:
- push
---
@ -45,34 +68,13 @@ trigger:
- main
event:
- push
- tag
depends_on:
- build-stable-container
---
kind: pipeline
name: build-dev-container
steps:
- name: docker
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: keyoxide/keyoxide
tags: dev
trigger:
branch:
- dev
event:
- push
---
kind: pipeline
type: exec
name: deploy-dev