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
|
name: build-stable-container
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: docker
|
- name: build stable container
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
username:
|
username:
|
||||||
|
@ -12,13 +12,36 @@ steps:
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
repo: keyoxide/keyoxide
|
repo: keyoxide/keyoxide
|
||||||
tags: stable
|
auto_tag: true
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
event:
|
event:
|
||||||
- push
|
- 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
|
- main
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
- tag
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- build-stable-container
|
- 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
|
kind: pipeline
|
||||||
type: exec
|
type: exec
|
||||||
name: deploy-dev
|
name: deploy-dev
|
||||||
|
|
Loading…
Reference in a new issue