doipjs/.drone.yml
2021-04-23 10:34:24 +02:00

51 lines
1 KiB
YAML

---
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:
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