mirror of
https://codeberg.org/keyoxide/doipjs.git
synced 2025-01-10 14:39:28 -07:00
Add drone integration
This commit is contained in:
parent
28582999eb
commit
6481d4f405
1 changed files with 55 additions and 0 deletions
55
.drone.yml
Normal file
55
.drone.yml
Normal file
|
@ -0,0 +1,55 @@
|
||||||
|
---
|
||||||
|
|
||||||
|
kind: pipeline
|
||||||
|
name: build-stable-proxy-container
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build stable proxy container
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
|
dockerfile: docker/proxy/Dockerfile
|
||||||
|
repo: keyoxide/doip-proxy
|
||||||
|
tags: stable
|
||||||
|
- name: build tag proxy container
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
|
dockerfile: docker/proxy/Dockerfile
|
||||||
|
repo: keyoxide/doip-proxy
|
||||||
|
auto_tag: true
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
kind: pipeline
|
||||||
|
name: build-dev-proxy-container
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build dev proxy container
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
|
dockerfile: docker/proxy/Dockerfile
|
||||||
|
repo: keyoxide/doip-proxy
|
||||||
|
tags: dev
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
|
event:
|
||||||
|
- push
|
Loading…
Reference in a new issue