forked from Mirrors/keyoxide-web
Update drone
This commit is contained in:
parent
8cc8c1128b
commit
3d08f0b185
1 changed files with 26 additions and 24 deletions
50
.drone.yml
50
.drone.yml
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue